nixpkgs/pkgs/development/python-modules/aiowinreg/default.nix
2023-02-10 17:44:11 +00:00

43 lines
860 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, prompt-toolkit
, pythonOlder
, winacl
}:
buildPythonPackage rec {
pname = "aiowinreg";
version = "0.0.9";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "skelsec";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-FyrYqNqp0PTEHHit3Rn00jtvPOvgVy+lz3jDRJnsobI=";
};
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 ];
};
}