Files
nixpkgs/pkgs/development/python-modules/aiowinreg/default.nix
T
2025-10-30 22:19:11 +00:00

46 lines
931 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
prompt-toolkit,
pythonOlder,
setuptools,
winacl,
}:
buildPythonPackage rec {
pname = "aiowinreg";
version = "0.0.13";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "skelsec";
repo = "aiowinreg";
tag = version;
hash = "sha256-vY5SrGTFH/xsv9k2WciE0xNx9r3W53sxxLGXFX34EuE=";
};
nativeBuildInputs = [ setuptools ];
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 ];
mainProgram = "awinreg";
};
}