9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
42 lines
861 B
Nix
42 lines
861 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";
|
|
homepage = "https://github.com/skelsec/aiowinreg";
|
|
changelog = "https://github.com/skelsec/aiowinreg/releases/tag/${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|