mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 01:15:51 +00:00
2e5767d6a5
Module for dealing with water consumption data from Suez https://github.com/jb101010-2/pySuez
41 lines
850 B
Nix
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; [ ];
|
|
};
|
|
}
|