nixos/java: No bashisms in `environment.shellInit` script (#294121)
[NixPkgs.git] / pkgs / development / python-modules / pynina / default.nix
blobf8b54a67d0b5c0c55e8e6fcc00e7298eb489d141
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   fetchPypi,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "pynina";
12   version = "0.3.4";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     pname = "PyNINA";
19     inherit version;
20     hash = "sha256-/BeT05dHPHfqybsly0QUbBPFFJKEr67vG1xbBfZXQuY=";
21   };
23   pythonRelaxDeps = [ "aiohttp" ];
25   build-system = [ setuptools ];
27   dependencies = [ aiohttp ];
29   # Project has no tests
30   doCheck = false;
32   pythonImportsCheck = [ "pynina" ];
34   meta = with lib; {
35     description = "Python API wrapper to retrieve warnings from the german NINA app";
36     homepage = "https://gitlab.com/DeerMaximum/pynina";
37     changelog = "https://gitlab.com/DeerMaximum/pynina/-/releases/${version}";
38     license = licenses.mit;
39     maintainers = with maintainers; [ fab ];
40   };