159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
49 lines
984 B
Nix
49 lines
984 B
Nix
{
|
|
lib,
|
|
aiofiles,
|
|
aiohttp,
|
|
backoff,
|
|
buildPythonPackage,
|
|
click,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyprosegur";
|
|
version = "0.0.12";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dgomes";
|
|
repo = "pyprosegur";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-A223aafa0eXNBVd2cVVV7p2wXg4Z2rcoggM3czmRsOE=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiofiles
|
|
aiohttp
|
|
backoff
|
|
click
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pyprosegur" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python module to communicate with Prosegur Residential Alarms";
|
|
homepage = "https://github.com/dgomes/pyprosegur";
|
|
changelog = "https://github.com/dgomes/pyprosegur/releases/tag/${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "pyprosegur";
|
|
};
|
|
}
|