depot/third_party/nixpkgs/pkgs/development/python-modules/pyprosegur/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

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";
};
}