nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchPypi,
6 setuptools,
7}:
8
9buildPythonPackage (finalAttrs: {
10 pname = "pynina";
11 version = "1.0.2";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit (finalAttrs) pname version;
16 hash = "sha256-ypbfvhXKu4pKr/DrWFnAhwMoqShJzWLqlA7/YQzJ9r4=";
17 };
18
19 pythonRelaxDeps = [ "aiohttp" ];
20
21 build-system = [ setuptools ];
22
23 dependencies = [ aiohttp ];
24
25 # Project has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "pynina" ];
29
30 meta = {
31 description = "Python API wrapper to retrieve warnings from the german NINA app";
32 homepage = "https://gitlab.com/DeerMaximum/pynina";
33 changelog = "https://gitlab.com/DeerMaximum/pynina/-/releases/v${finalAttrs.version}";
34 license = lib.licenses.mit;
35 maintainers = with lib.maintainers; [ fab ];
36 };
37})