Merge pull request #146744 from fabaff/pynina

python3Packages.pynina: init at unstable-2021-11-11
This commit is contained in:
Fabian Affolter 2021-11-22 09:42:38 +01:00 committed by GitHub
commit 2cd8fe9d04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,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 ];
};
}

View File

@ -6812,6 +6812,8 @@ in {
pynetdicom = callPackage ../development/python-modules/pynetdicom { };
pynina = callPackage ../development/python-modules/pynina { };
pynisher = callPackage ../development/python-modules/pynisher { };
pynmea2 = callPackage ../development/python-modules/pynmea2 { };