f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
40 lines
869 B
Nix
40 lines
869 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyrisco";
|
|
version = "0.6.4";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OnFreund";
|
|
repo = "pyrisco";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-Xd6m7P/9ZB0tY6io59kCr8n4H8PXMO3nyMRmm8rpgJs=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ aiohttp ];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pyrisco" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python interface to Risco alarm systems through Risco Cloud";
|
|
homepage = "https://github.com/OnFreund/pyrisco";
|
|
changelog = "https://github.com/OnFreund/pyrisco/releases/tag/v${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|