Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pyasn1-modules / default.nix
blob7a0735269897b0729eda7943054ded353c3dbd01
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pyasn1
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "pyasn1-modules";
11   version = "0.3.0";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "pyasn1";
17     repo = pname;
18     rev = "refs/tags/v${version}";
19     hash = "sha256-AAS1VuppCIxgswpLSHFAc6q9cyJBLpdDuU9D1KU13vg=";
20   };
22   propagatedBuildInputs = [
23     pyasn1
24   ];
26   nativeCheckInputs = [
27     pytestCheckHook
28   ];
30   pythonImportsCheck = [
31     "pyasn1_modules"
32   ];
34   meta = with lib; {
35     description = "A collection of ASN.1-based protocols modules";
36     homepage = "https://github.com/pyasn1/pyasn1-modules";
37     changelog = "https://github.com/pyasn1/pyasn1-modules/releases/tag/v${version}";
38     license = licenses.bsd3;
39     maintainers = with maintainers; [ ];
40   };