blob: 6348db3593ef52d99bc9b9aeeb3da655e20e63f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pbr,
requests,
}:
buildPythonPackage rec {
pname = "icmplib";
version = "3.0.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "ValentinBELYN";
repo = "icmplib";
rev = "v${version}";
hash = "sha256-PnBcGiUvftz/KYg9Qd2GaIcF3OW4lYH301uI5/M5CBI=";
};
propagatedBuildInputs = [
pbr
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "icmplib" ];
meta = {
description = "Python implementation of the ICMP protocol";
homepage = "https://github.com/ValentinBELYN/icmplib";
license = with lib.licenses; [ lgpl3Plus ];
maintainers = with lib.maintainers; [ fab ];
};
}
|