mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 09:03:42 +00:00
python312Packages.sensoterra: init at 2.0.1 (#352336)
This commit is contained in:
commit
3537d187a2
38
pkgs/development/python-modules/sensoterra/default.nix
Normal file
38
pkgs/development/python-modules/sensoterra/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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"
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user