nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "pyrisco";
11 version = "0.6.7";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "OnFreund";
16 repo = "pyrisco";
17 tag = "v${version}";
18 hash = "sha256-mZzTFISw2CzGu6AhXSt6LtbXuKqCTc6B6wNKnI3pA4o=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [ aiohttp ];
24
25 # Project has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "pyrisco" ];
29
30 meta = {
31 description = "Python interface to Risco alarm systems through Risco Cloud";
32 homepage = "https://github.com/OnFreund/pyrisco";
33 changelog = "https://github.com/OnFreund/pyrisco/releases/tag/v${version}";
34 license = with lib.licenses; [ mit ];
35 maintainers = with lib.maintainers; [ fab ];
36 };
37}