{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, unicodecsv, pythonOlder, setuptools, six, }: buildPythonPackage rec { pname = "python-registry"; version = "1.4"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "williballenthin"; repo = "python-registry"; rev = "refs/tags/${version}"; hash = "sha256-OgRPcyx+NJnbtETMakUT0p8Pb0Qfzgj+qvWtmJksnT8="; }; pythonRemoveDeps = [ "enum-compat" ]; build-system = [ setuptools ]; dependencies = [ unicodecsv ]; nativeCheckInputs = [ pytestCheckHook six ]; disabledTestPaths = [ "samples" ]; pythonImportsCheck = [ "Registry" ]; meta = with lib; { description = "Module to parse the Windows Registry hives"; homepage = "https://github.com/williballenthin/python-registry"; changelog = "https://github.com/williballenthin/python-registry/releases/tag/${version}"; license = licenses.asl20; maintainers = [ ]; }; }