Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
759 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}