81047829ea
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
38 lines
708 B
Nix
38 lines
708 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pynina";
|
|
version = "0.1.4";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "PyNINA";
|
|
inherit version;
|
|
sha256 = "1q382b70ydzzbqb9sa5y5w7039rp6q0wyffarrsdw916kbc4zyqd";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|