10 buildPythonPackage rec {
15 disabled = pythonOlder "3.8";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-Xgd0E/oFO2yyytBjuwr1vDJfKWC0Iw8P6GStCuCni/g=";
25 substituteInPlace setup.py \
26 --replace ", 'datetime'" ""
33 propagatedBuildInputs = [
41 pythonImportsCheck = [
46 description = "Module to get water consumption data from Suez";
47 mainProgram = "pysuez";
48 homepage = "https://github.com/ooii/pySuez";
49 changelog = "https://github.com/ooii/pySuez/releases/tag/v${version}";
50 license = licenses.asl20;
51 maintainers = with maintainers; [ fab ];