python3Packages.icmplib: init at 2.0.1

This commit is contained in:
Fabian Affolter 2021-01-13 17:51:42 +01:00
parent b451286b1f
commit e0dd82d309
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pbr
, pythonOlder
, requests
, six
}:
buildPythonPackage rec {
pname = "icmplib";
version = "2.0.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "ValentinBELYN";
repo = pname;
rev = "v${version}";
sha256 = "0vps4iz87f8l0z3va92srsx5v19nnd65c22hvbgvhag3vhqsxg7h";
};
propagatedBuildInputs = [
pbr
six
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "icmplib" ];
meta = with lib; {
description = "Python implementation of the ICMP protocol";
homepage = "https://github.com/ValentinBELYN/icmplib";
license = with licenses; [ lgpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2985,6 +2985,8 @@ in {
icecream = callPackage ../development/python-modules/icecream { };
icmplib = callPackage ../development/python-modules/icmplib { };
ics = callPackage ../development/python-modules/ics { };
identify = callPackage ../development/python-modules/identify { };