python312Packages.aiowinreg: refactor
This commit is contained in:
parent
9fdde86cc5
commit
e940b154e2
@ -3,23 +3,28 @@
|
||||
, fetchFromGitHub
|
||||
, prompt-toolkit
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, winacl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiowinreg";
|
||||
version = "0.0.10";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "skelsec";
|
||||
repo = pname;
|
||||
repo = "aiowinreg";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-PkrBjH+yeSLpwL9kH242xQKBsjv6a11k2c26qBwR6Fw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
prompt-toolkit
|
||||
winacl
|
||||
@ -34,10 +39,10 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to parse the registry hive";
|
||||
mainProgram = "awinreg";
|
||||
homepage = "https://github.com/skelsec/aiowinreg";
|
||||
changelog = "https://github.com/skelsec/aiowinreg/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "awinreg";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user