Files
nixpkgs/pkgs/development/python-modules/fastdotcom/default.nix
2025-07-05 18:53:13 -07:00

42 lines
759 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
icmplib,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "fastdotcom";
version = "0.0.6";
pyproject = true;
disabled = pythonOlder "3.8";
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 ];
};
}