Commit 702f6e3c authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.sensoterra: init at 2.0.1

Query Sensoterra probes using the Customer API

https://pypi.org/project/sensoterra/
parent 8a2cc6b2
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -14217,6 +14217,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;
  };