tailscale: build derpprobe (#364918)
[NixPkgs.git] / pkgs / development / python-modules / python-registry / default.nix
blobb08d82bb3e48e786c5584c0094905a32caed4be4
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   unicodecsv,
7   pythonOlder,
8   setuptools,
9   six,
12 buildPythonPackage rec {
13   pname = "python-registry";
14   version = "1.4";
15   pyproject = true;
17   disabled = pythonOlder "3.9";
19   src = fetchFromGitHub {
20     owner = "williballenthin";
21     repo = "python-registry";
22     rev = "refs/tags/${version}";
23     hash = "sha256-OgRPcyx+NJnbtETMakUT0p8Pb0Qfzgj+qvWtmJksnT8=";
24   };
26   pythonRemoveDeps = [ "enum-compat" ];
28   build-system = [ setuptools ];
30   dependencies = [ unicodecsv ];
32   nativeCheckInputs = [
33     pytestCheckHook
34     six
35   ];
37   disabledTestPaths = [ "samples" ];
39   pythonImportsCheck = [ "Registry" ];
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   };