fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
49 lines
998 B
Nix
49 lines
998 B
Nix
{
|
|
lib,
|
|
aiofiles,
|
|
aiohttp,
|
|
backoff,
|
|
buildPythonPackage,
|
|
click,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyprosegur";
|
|
version = "0.0.10";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dgomes";
|
|
repo = "pyprosegur";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-OHFJhufymD181FODHlIu+O5xh9dfKwEIVQX/zTOC6ks=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
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";
|
|
};
|
|
}
|