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