Merge pull request #109294 from fabaff/icmplib

This commit is contained in:
Sandro 2021-01-14 07:37:05 +01:00 committed by GitHub
commit 29d0d2faca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 1 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

@ -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 ];

View file

@ -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 { };