Merge pull request #266210 from fabaff/pysuez

python311Packages.pysuez: init at 0.2.0
This commit is contained in:
Martin Weinelt 2023-11-14 13:05:56 +01:00 committed by GitHub
commit 27fc728a6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 1 deletions

View File

@ -0,0 +1,45 @@
{ 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 ];
};
}

View File

@ -4145,7 +4145,8 @@
subarulink
];
"suez_water" = ps: with ps; [
]; # missing inputs: pysuez
pysuez
];
"sun" = ps: with ps; [
];
"supervisord" = ps: with ps; [

View File

@ -9264,6 +9264,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 { };