587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
43 lines
890 B
Nix
43 lines
890 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, prompt-toolkit
|
|
, pythonOlder
|
|
, winacl
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiowinreg";
|
|
version = "0.0.10";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "skelsec";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-PkrBjH+yeSLpwL9kH242xQKBsjv6a11k2c26qBwR6Fw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
prompt-toolkit
|
|
winacl
|
|
];
|
|
|
|
# Project doesn't have tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"aiowinreg"
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|