1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 prompt-toolkit, 6 pythonOlder, 7 setuptools, 8 winacl, 9}: 10 11buildPythonPackage rec { 12 pname = "aiowinreg"; 13 version = "0.0.12"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.6"; 17 18 src = fetchFromGitHub { 19 owner = "skelsec"; 20 repo = "aiowinreg"; 21 tag = version; 22 hash = "sha256-XQDBvBfocz5loUg9eZQz4FKGiCGCaczwhYE/vhy7mC0="; 23 }; 24 25 nativeBuildInputs = [ setuptools ]; 26 27 propagatedBuildInputs = [ 28 prompt-toolkit 29 winacl 30 ]; 31 32 # Project doesn't have tests 33 doCheck = false; 34 35 pythonImportsCheck = [ "aiowinreg" ]; 36 37 meta = with lib; { 38 description = "Python module to parse the registry hive"; 39 homepage = "https://github.com/skelsec/aiowinreg"; 40 changelog = "https://github.com/skelsec/aiowinreg/releases/tag/${version}"; 41 license = with licenses; [ mit ]; 42 maintainers = with maintainers; [ fab ]; 43 mainProgram = "awinreg"; 44 }; 45}