nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 aiohttp,
7}:
8
9buildPythonPackage rec {
10 pname = "pysuezv2";
11 version = "2.0.7";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "jb101010-2";
16 repo = "pySuez";
17 tag = version;
18 hash = "sha256-nPRHpT5j/AAxhCJen4mFzoyUWi/+0hIWK2dnpfhP/Gk=";
19 };
20
21 build-system = [ hatchling ];
22
23 dependencies = [ aiohttp ];
24
25 # Module has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "pysuez" ];
29
30 meta = {
31 description = "Module for dealing with water consumption data from Suez";
32 homepage = "https://github.com/jb101010-2/pySuez";
33 changelog = "https://github.com/jb101010-2/pySuez/releases/tag/${version}";
34 license = lib.licenses.asl20;
35 maintainers = [ ];
36 };
37}