ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / icmplib / default.nix
blobaae5785fccfb5e05e2f56f9ef22d309f85af93f5
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pbr
5 , pythonOlder
6 , requests
7 }:
9 buildPythonPackage rec {
10   pname = "icmplib";
11   version = "3.0.3";
12   disabled = pythonOlder "3.7";
14   src = fetchFromGitHub {
15     owner = "ValentinBELYN";
16     repo = pname;
17     rev = "v${version}";
18     sha256 = "sha256-EQyu7lV8F/U8cZklYYIMk9ut1FTcoBvGc8Ggx6JerDk=";
19   };
21   propagatedBuildInputs = [
22     pbr
23     requests
24   ];
26   # Project has no tests
27   doCheck = false;
28   pythonImportsCheck = [ "icmplib" ];
30   meta = with lib; {
31     description = "Python implementation of the ICMP protocol";
32     homepage = "https://github.com/ValentinBELYN/icmplib";
33     license = with licenses; [ lgpl3Plus ];
34     maintainers = with maintainers; [ fab ];
35   };