nixpkgs/pkgs/development/python-modules/pyasn1-modules/default.nix
2018-07-26 12:43:03 +02:00

22 lines
570 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pyasn1, isPyPy }:
buildPythonPackage rec {
pname = "pyasn1-modules";
version = "0.2.2";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
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
};
}