blob: b9e026886c867b153174599d5aae237d8bb5bc2d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitLab
, pythonOlder
}:
buildPythonPackage rec {
pname = "pynina";
version = "unstable-2021-11-11";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitLab {
owner = "DeerMaximum";
repo = pname;
rev = "0ac42b28d48af7bcd9c83f5d425b5b23c4c19f02";
sha256 = "FSrFCs/4tfYcSPz9cgR+LFsRbWIHE1X+ZUl8BWSEaWQ=";
};
propagatedBuildInputs = [
aiohttp
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"pynina"
];
meta = with lib; {
description = "Python API wrapper to retrieve warnings from the german NINA app";
homepage = "https://gitlab.com/DeerMaximum/pynina";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|