nixpkgs/pkgs/development/python-modules/pyasn1-modules/default.nix

22 lines
570 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, pyasn1, isPyPy }:
buildPythonPackage rec {
pname = "pyasn1-modules";
2018-07-22 11:16:46 +01:00
version = "0.2.2";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
2018-07-22 11:16:46 +01:00
sha256 = "a0cf3e1842e7c60fde97cb22d275eb6f9524f5c5250489e292529de841417547";
};
propagatedBuildInputs = [ pyasn1 ];
meta = with stdenv.lib; {
description = "A collection of ASN.1-based protocols modules";
homepage = https://pypi.python.org/pypi/pyasn1-modules;
license = licenses.bsd3;
platforms = platforms.unix; # same as pyasn1
};
}