depot/third_party/nixpkgs/pkgs/development/python-modules/aiowinreg/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

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 ];
};
}