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