31 lines
638 B
Nix
31 lines
638 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyasn1";
|
|
version = "0.5.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-l7cpDKaOYqgyVY7Dl28Vy/kRv118cDnYuGHCoOzmn94=";
|
|
};
|
|
|
|
pythonImportsCheck = [
|
|
"pyasn1"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Generic ASN.1 library for Python";
|
|
homepage = "https://pyasn1.readthedocs.io";
|
|
changelog = "https://github.com/etingof/pyasn1/blob/master/CHANGES.rst";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|