about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyasn/default.nix
blob: b180226ec46c4634e0f0d9f8446e2ef21a7b8b5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 ];
  };
}