mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
python311Packages.pyprosegur: refactor
This commit is contained in:
parent
8f721625be
commit
e62b7d78ca
@ -6,22 +6,27 @@
|
||||
, click
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyprosegur";
|
||||
version = "0.0.10";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dgomes";
|
||||
repo = pname;
|
||||
repo = "pyprosegur";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-OHFJhufymD181FODHlIu+O5xh9dfKwEIVQX/zTOC6ks=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiofiles
|
||||
aiohttp
|
||||
@ -38,10 +43,10 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to communicate with Prosegur Residential Alarms";
|
||||
mainProgram = "pyprosegur";
|
||||
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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user