Commit 6c6f2931 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.pysuez: init at 0.2.0

parent 301a784d
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, requests
, pythonOlder
}:

buildPythonPackage rec {
  pname = "pysuez";
  version = "0.2.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "ooii";
    repo = "pySuez";
    rev = "refs/tags/v${version}";
    hash = "sha256-Xgd0E/oFO2yyytBjuwr1vDJfKWC0Iw8P6GStCuCni/g=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    requests
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [
    "pysuez"
  ];

  meta = with lib; {
    description = "Module to get water consumption data from Suez";
    homepage = "https://github.com/ooii/pySuez";
    changelog = "https://github.com/ooii/pySuez/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -9237,6 +9237,8 @@ self: super: with self; {
  pysubs2 = callPackage ../development/python-modules/pysubs2 { };
  pysuez = callPackage ../development/python-modules/pysuez { };
  pysqlitecipher = callPackage ../development/python-modules/pysqlitecipher { };
  pysyncthru = callPackage ../development/python-modules/pysyncthru { };