Unverified Commit 3537d187 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python312Packages.sensoterra: init at 2.0.1 (#352336)

parents b4260cf4 37c20e81
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 ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -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"
+2 −0
Original line number Diff line number Diff line
@@ -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;
  };