2021-01-10 17:03:58 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
2021-06-19 05:43:05 +01:00
|
|
|
, winacl
|
2021-07-27 19:44:48 +01:00
|
|
|
, prompt-toolkit
|
2021-01-10 17:03:58 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiowinreg";
|
2021-08-03 08:13:52 +01:00
|
|
|
version = "0.0.7";
|
2021-01-10 17:03:58 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-03 08:13:52 +01:00
|
|
|
sha256 = "1p88q2b6slm1sw3234r40s9jd03fqlkcx8y3iwg6ihf0z4ww14d1";
|
2021-01-10 17:03:58 +00:00
|
|
|
};
|
|
|
|
|
2021-07-26 21:44:07 +01:00
|
|
|
propagatedBuildInputs = [
|
2021-07-27 19:44:48 +01:00
|
|
|
prompt-toolkit
|
2021-07-26 21:44:07 +01:00
|
|
|
winacl
|
|
|
|
];
|
2021-06-19 05:43:05 +01:00
|
|
|
|
2021-01-10 17:03:58 +00:00
|
|
|
# Project doesn't have tests
|
|
|
|
doCheck = false;
|
2021-07-26 21:44:07 +01:00
|
|
|
|
2021-01-10 17:03:58 +00:00
|
|
|
pythonImportsCheck = [ "aiowinreg" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python module to parse the registry hive";
|
|
|
|
homepage = "https://github.com/skelsec/aiowinreg";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|