mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
43 lines
860 B
Nix
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 ];
|
|
};
|
|
}
|