mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #266210 from fabaff/pysuez
python311Packages.pysuez: init at 0.2.0
This commit is contained in:
commit
27fc728a6c
45
pkgs/development/python-modules/pysuez/default.nix
Normal file
45
pkgs/development/python-modules/pysuez/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -4145,7 +4145,8 @@
|
||||
subarulink
|
||||
];
|
||||
"suez_water" = ps: with ps; [
|
||||
]; # missing inputs: pysuez
|
||||
pysuez
|
||||
];
|
||||
"sun" = ps: with ps; [
|
||||
];
|
||||
"supervisord" = ps: with ps; [
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user