python312Packages.pysuez: 0.2.0 -> 0.2.2
Fixes to the pySuezV2 (pypi name) fork.
This commit is contained in:
parent
503844b0f8
commit
9fe18a8724
@ -10,26 +10,21 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysuez";
|
||||
version = "0.2.0";
|
||||
version = "0.2.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ooii";
|
||||
owner = "jb101010-2";
|
||||
repo = "pySuez";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Xgd0E/oFO2yyytBjuwr1vDJfKWC0Iw8P6GStCuCni/g=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-+pLknJDF0SsC6OsmP64D/yZeu0sGNtKo8EBGlDewBug=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace ", 'datetime'" ""
|
||||
'';
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
regex
|
||||
requests
|
||||
];
|
||||
@ -42,8 +37,8 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Module to get water consumption data from Suez";
|
||||
mainProgram = "pysuez";
|
||||
homepage = "https://github.com/ooii/pySuez";
|
||||
changelog = "https://github.com/ooii/pySuez/releases/tag/v${version}";
|
||||
homepage = "https://github.com/jb101010-2/pySuez";
|
||||
changelog = "https://github.com/jb101010-2/pySuez/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user