1{ stdenv, buildPythonPackage, fetchPypi, pyasn1, isPyPy }:
2
3buildPythonPackage rec {
4 pname = "pyasn1-modules";
5 version = "0.2.4";
6 disabled = isPyPy;
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "a52090e8c5841ebbf08ae455146792d9ef3e8445b21055d3a3b7ed9c712b7c7c";
11 };
12
13 propagatedBuildInputs = [ pyasn1 ];
14
15 meta = with stdenv.lib; {
16 description = "A collection of ASN.1-based protocols modules";
17 homepage = https://pypi.python.org/pypi/pyasn1-modules;
18 license = licenses.bsd3;
19 platforms = platforms.unix; # same as pyasn1
20 };
21}