1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 icmplib,
6 pythonOlder,
7 requests,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "fastdotcom";
13 version = "0.0.6";
14 pyproject = true;
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchPypi {
19 pname = "fastdotcom";
20 inherit version;
21 hash = "sha256-DAj5Bp8Vlg/NQSnz0yF/nHlIO7kStHlBABwvTWHVsIo=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 icmplib
28 requests
29 ];
30
31 # Project has no tests
32 doCheck = false;
33 pythonImportsCheck = [ "fastdotcom" ];
34
35 meta = {
36 description = "Python API for testing internet speed on Fast.com";
37 homepage = "https://github.com/nkgilley/fast.com";
38 license = lib.licenses.mit;
39 maintainers = [ lib.maintainers.jamiemagee ];
40 };
41}