python312Packages.sensoterra: init at 2.0.1 (#352336)

This commit is contained in:
Martin Weinelt 2024-11-03 15:37:59 +01:00 committed by GitHub
commit 3537d187a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,38 @@
{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "sensoterra";
version = "2.0.1";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchPypi {
inherit pname version;
hash = "sha256-WfjTOns5OPU8+ufDeFdDGjURhBWUFfw/qRSHQazBL04=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# Test require network access
doCheck = false;
pythonImportsCheck = [ "sensoterra" ];
meta = {
description = "Query Sensoterra probes using the Customer API";
homepage = "https://gitlab.com/sensoterra/public/python";
changelog = "https://gitlab.com/sensoterra/public/python/-/blob/main/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}

View File

@ -3828,7 +3828,8 @@
zeroconf
];
"sensoterra" = ps: with ps; [
]; # missing inputs: sensoterra
sensoterra
];
"sentry" = ps: with ps; [
sentry-sdk
];
@ -5660,6 +5661,7 @@
"sensor"
"sensorpro"
"sensorpush"
"sensoterra"
"sentry"
"senz"
"seventeentrack"

View File

@ -14269,6 +14269,8 @@ self: super: with self; {
sensorpush-ble = callPackage ../development/python-modules/sensorpush-ble { };
sensoterra = callPackage ../development/python-modules/sensoterra { };
sentencepiece = callPackage ../development/python-modules/sentencepiece {
inherit (pkgs) sentencepiece;
};