Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pynina / default.nix
blob73e611d0f5010dbc1324e78a49157f008b132aac
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchPypi
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "pynina";
10   version = "0.3.3";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     pname = "PyNINA";
17     inherit version;
18     hash = "sha256-6HJ78tKl6If/ezwOrGl3VEYO4eMh/6cZq2j2AMBr0I8=";
19   };
21   propagatedBuildInputs = [
22     aiohttp
23   ];
25   # Project has no tests
26   doCheck = false;
28   pythonImportsCheck = [
29     "pynina"
30   ];
32   meta = with lib; {
33     description = "Python API wrapper to retrieve warnings from the german NINA app";
34     homepage = "https://gitlab.com/DeerMaximum/pynina";
35     changelog = "https://gitlab.com/DeerMaximum/pynina/-/releases/${version}";
36     license = licenses.mit;
37     maintainers = with maintainers; [ fab ];
38   };