Merge pull request #109294 from fabaff/icmplib
This commit is contained in:
commit
29d0d2faca
3 changed files with 41 additions and 1 deletions
38
pkgs/development/python-modules/icmplib/default.nix
Normal file
38
pkgs/development/python-modules/icmplib/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -615,7 +615,7 @@
|
|||
"picotts" = ps: with ps; [ ];
|
||||
"piglow" = ps: with ps; [ ]; # missing inputs: piglow
|
||||
"pilight" = ps: with ps; [ ]; # missing inputs: pilight
|
||||
"ping" = ps: with ps; [ ]; # missing inputs: icmplib
|
||||
"ping" = ps: with ps; [ icmplib ];
|
||||
"pioneer" = ps: with ps; [ ];
|
||||
"pjlink" = ps: with ps; [ ]; # missing inputs: pypjlink2
|
||||
"plaato" = ps: with ps; [ aiohttp-cors ];
|
||||
|
|
|
@ -2989,6 +2989,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 { };
|
||||
|
|
Loading…
Reference in a new issue