2021-11-20 10:43:37 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, buildPythonPackage
|
2022-02-02 20:02:40 +00:00
|
|
|
, fetchPypi
|
2021-11-20 10:43:37 +00:00
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pynina";
|
2022-03-02 19:20:23 +00:00
|
|
|
version = "0.1.7";
|
2021-11-20 10:43:37 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2022-02-02 20:02:40 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
pname = "PyNINA";
|
|
|
|
inherit version;
|
2022-03-02 19:20:23 +00:00
|
|
|
sha256 = "sha256-7sceYmzOmXJMKaIdGmXMuCAum0aJeVTxx1w/jZy5Eig=";
|
2021-11-20 10:43:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|