Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, prompt-toolkit 5, pythonOlder 6, winacl 7}: 8 9buildPythonPackage rec { 10 pname = "aiowinreg"; 11 version = "0.0.10"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchFromGitHub { 17 owner = "skelsec"; 18 repo = pname; 19 rev = "refs/tags/${version}"; 20 hash = "sha256-PkrBjH+yeSLpwL9kH242xQKBsjv6a11k2c26qBwR6Fw="; 21 }; 22 23 propagatedBuildInputs = [ 24 prompt-toolkit 25 winacl 26 ]; 27 28 # Project doesn't have tests 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "aiowinreg" 33 ]; 34 35 meta = with lib; { 36 description = "Python module to parse the registry hive"; 37 homepage = "https://github.com/skelsec/aiowinreg"; 38 changelog = "https://github.com/skelsec/aiowinreg/releases/tag/${version}"; 39 license = with licenses; [ mit ]; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}