blob: 6563c1b39d9b7657b8c9443e5d9c129e31b112c5 (
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
37
38
|
{
lib,
buildPythonPackage,
fetchPypi,
icmplib,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "fastdotcom";
version = "0.0.6";
pyproject = true;
src = fetchPypi {
pname = "fastdotcom";
inherit version;
hash = "sha256-DAj5Bp8Vlg/NQSnz0yF/nHlIO7kStHlBABwvTWHVsIo=";
};
build-system = [ setuptools ];
dependencies = [
icmplib
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "fastdotcom" ];
meta = {
description = "Python API for testing internet speed on Fast.com";
homepage = "https://github.com/nkgilley/fast.com";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
|