3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #158130 from onny/pyasn

python3Packages.pyasn: init at 1.6.1
This commit is contained in:
davidak 2022-02-11 07:53:19 +01:00 committed by GitHub
commit 3d4cc2bcc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchPypi, }:
buildPythonPackage rec {
pname = "pyasn";
version = "1.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-6UK1SRY2Pse4tw6urs0OtOQe8bz0ojl7KabXFfzN+SU=";
};
doCheck = false; # Tests require internet connection which wont work
pythonImportsCheck = [ "pyasn" ];
meta = with lib; {
description = "Offline IP address to Autonomous System Number lookup module";
homepage = "https://github.com/hadiasghari/pyasn";
license = with licenses; [ bsdOriginal mit ];
maintainers = with maintainers; [ onny ];
};
}

View file

@ -6547,6 +6547,8 @@ in {
inherit (pkgs) arrow-cpp cmake;
};
pyasn = callPackage ../development/python-modules/pyasn { };
pyasn1 = callPackage ../development/python-modules/pyasn1 { };
pyasn1-modules = callPackage ../development/python-modules/pyasn1-modules { };