biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / icmplib / default.nix
blob1ea2b702001b084869c4d213df210cfe2ed3249a
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pbr,
6   pythonOlder,
7   requests,
8 }:
10 buildPythonPackage rec {
11   pname = "icmplib";
12   version = "3.0.4";
13   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "ValentinBELYN";
18     repo = pname;
19     rev = "v${version}";
20     hash = "sha256-PnBcGiUvftz/KYg9Qd2GaIcF3OW4lYH301uI5/M5CBI=";
21   };
23   propagatedBuildInputs = [
24     pbr
25     requests
26   ];
28   # Project has no tests
29   doCheck = false;
30   pythonImportsCheck = [ "icmplib" ];
32   meta = with lib; {
33     description = "Python implementation of the ICMP protocol";
34     homepage = "https://github.com/ValentinBELYN/icmplib";
35     license = with licenses; [ lgpl3Plus ];
36     maintainers = with maintainers; [ fab ];
37   };