nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 backoff,
5 buildPythonPackage,
6 fetchPypi,
7 importlib-metadata,
8 poetry-core,
9}:
10
11buildPythonPackage rec {
12 pname = "pypoolstation";
13 version = "0.5.8";
14 pyproject = true;
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-GIRx66esht82tKBJDhCDrwPkxsdBPi1w9tSQ7itF0qQ=";
19 };
20
21 build-system = [ poetry-core ];
22
23 dependencies = [
24 aiohttp
25 backoff
26 importlib-metadata
27 ];
28
29 # Project has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "pypoolstation" ];
33
34 meta = {
35 description = "Python library to interact the the Poolstation platform";
36 homepage = "https://github.com/cibernox/PyPoolstation";
37 license = lib.licenses.mit;
38 maintainers = with lib.maintainers; [ fab ];
39 };
40}