2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
prompt-toolkit,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
|
|
|
winacl,
|
2021-01-15 22:18:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiowinreg";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.0.12";
|
|
|
|
pyproject = true;
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
2023-02-16 17:41:37 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skelsec";
|
2024-05-15 15:35:15 +00:00
|
|
|
repo = "aiowinreg";
|
2023-02-16 17:41:37 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-XQDBvBfocz5loUg9eZQz4FKGiCGCaczwhYE/vhy7mC0=";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
prompt-toolkit
|
|
|
|
winacl
|
|
|
|
];
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
# Project doesn't have tests
|
|
|
|
doCheck = false;
|
2021-08-05 21:33:18 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
pythonImportsCheck = [ "aiowinreg" ];
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python module to parse the registry hive";
|
|
|
|
homepage = "https://github.com/skelsec/aiowinreg";
|
2023-02-16 17:41:37 +00:00
|
|
|
changelog = "https://github.com/skelsec/aiowinreg/releases/tag/${version}";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-05-15 15:35:15 +00:00
|
|
|
mainProgram = "awinreg";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
}
|