1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchPypi,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "pynina";
11 version = "0.3.6";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-w5iJXmOd0fqWIZnVG6zDop1t2h4B+4v0/EuwgS00LkA=";
17 };
18
19 pythonRelaxDeps = [ "aiohttp" ];
20
21 build-system = [ setuptools ];
22
23 dependencies = [ aiohttp ];
24
25 # Project has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "pynina" ];
29
30 meta = with lib; {
31 description = "Python API wrapper to retrieve warnings from the german NINA app";
32 homepage = "https://gitlab.com/DeerMaximum/pynina";
33 changelog = "https://gitlab.com/DeerMaximum/pynina/-/releases/v${version}";
34 license = licenses.mit;
35 maintainers = with maintainers; [ fab ];
36 };
37}