nixpkgs/pkgs/development/python-modules/pysuezv2/default.nix
Fabian Affolter 2e5767d6a5 python312Packages.pysuezv2: init at 1.3.2
Module for dealing with water consumption data from Suez

https://github.com/jb101010-2/pySuez
2024-11-30 16:21:28 +01:00

41 lines
850 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
aiohttp,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pysuezv2";
version = "1.3.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "jb101010-2";
repo = "pySuez";
rev = "refs/tags/${version}";
hash = "sha256-aThZN5Ece9zzEICjLj2HmYoLwDhd7rft3Il3kM73h7M=";
};
build-system = [ hatchling ];
dependencies = [ aiohttp ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "pysuez" ];
meta = {
description = "Module for dealing with water consumption data from Suez";
homepage = "https://github.com/jb101010-2/pySuez";
changelog = "https://github.com/jb101010-2/pySuez/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ];
};
}