nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 35 lines 761 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 requests, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "sensoterra"; 11 version = "2.0.1"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-WfjTOns5OPU8+ufDeFdDGjURhBWUFfw/qRSHQazBL04="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 dependencies = [ requests ]; 22 23 # Test require network access 24 doCheck = false; 25 26 pythonImportsCheck = [ "sensoterra" ]; 27 28 meta = { 29 description = "Query Sensoterra probes using the Customer API"; 30 homepage = "https://gitlab.com/sensoterra/public/python"; 31 changelog = "https://gitlab.com/sensoterra/public/python/-/blob/main/CHANGELOG.md"; 32 license = lib.licenses.mit; 33 maintainers = with lib.maintainers; [ fab ]; 34 }; 35}