nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "pyasn1";
10 version = "0.6.2";
11 pyproject = true;
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-m1mislun5PgZfbdobAn7M+ZYuYM5+tuCbpUSYpAXgzs=";
16 };
17
18 nativeBuildInputs = [ setuptools ];
19
20 pythonImportsCheck = [ "pyasn1" ];
21
22 meta = {
23 description = "Generic ASN.1 library for Python";
24 homepage = "https://pyasn1.readthedocs.io";
25 changelog = "https://github.com/etingof/pyasn1/blob/master/CHANGES.rst";
26 license = lib.licenses.bsd2;
27 maintainers = [ ];
28 };
29}