2021-01-10 18:03:58 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
2021-06-19 06:43:05 +02:00
|
|
|
, winacl
|
2021-07-27 20:44:48 +02:00
|
|
|
, prompt-toolkit
|
2021-01-10 18:03:58 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiowinreg";
|
2021-08-03 09:13:52 +02:00
|
|
|
version = "0.0.7";
|
2021-01-10 18:03:58 +01:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-03 09:13:52 +02:00
|
|
|
sha256 = "1p88q2b6slm1sw3234r40s9jd03fqlkcx8y3iwg6ihf0z4ww14d1";
|
2021-01-10 18:03:58 +01:00
|
|
|
};
|
|
|
|
|
2021-07-26 22:44:07 +02:00
|
|
|
propagatedBuildInputs = [
|
2021-07-27 20:44:48 +02:00
|
|
|
prompt-toolkit
|
2021-07-26 22:44:07 +02:00
|
|
|
winacl
|
|
|
|
];
|
2021-06-19 06:43:05 +02:00
|
|
|
|
2021-01-10 18:03:58 +01:00
|
|
|
# Project doesn't have tests
|
|
|
|
doCheck = false;
|
2021-07-26 22:44:07 +02:00
|
|
|
|
2021-01-10 18:03:58 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|