1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 unicodecsv, 7 pythonOlder, 8 setuptools, 9 six, 10}: 11 12buildPythonPackage rec { 13 pname = "python-registry"; 14 version = "1.4"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.9"; 18 19 src = fetchFromGitHub { 20 owner = "williballenthin"; 21 repo = "python-registry"; 22 tag = version; 23 hash = "sha256-OgRPcyx+NJnbtETMakUT0p8Pb0Qfzgj+qvWtmJksnT8="; 24 }; 25 26 pythonRemoveDeps = [ "enum-compat" ]; 27 28 build-system = [ setuptools ]; 29 30 dependencies = [ unicodecsv ]; 31 32 nativeCheckInputs = [ 33 pytestCheckHook 34 six 35 ]; 36 37 disabledTestPaths = [ "samples" ]; 38 39 pythonImportsCheck = [ "Registry" ]; 40 41 meta = with lib; { 42 description = "Module to parse the Windows Registry hives"; 43 homepage = "https://github.com/williballenthin/python-registry"; 44 changelog = "https://github.com/williballenthin/python-registry/releases/tag/${version}"; 45 license = licenses.asl20; 46 maintainers = [ ]; 47 }; 48}