Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / python-registry / default.nix
blob4f8c4beae6c9657973446745dd9be6ccc993e0d7
1 { lib
2 , buildPythonPackage
3 , enum-compat
4 , fetchFromGitHub
5 , pytestCheckHook
6 , unicodecsv
7 , six
8 }:
10 buildPythonPackage rec {
11   pname = "python-registry";
12   version = "1.4";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "williballenthin";
17     repo = pname;
18     rev = version;
19     sha256 = "0gwx5jcribgmmbz0ikhz8iphz7yj2d2nmk24nkdrjd3y5irly11s";
20   };
22   propagatedBuildInputs = [
23     enum-compat
24     unicodecsv
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29     six
30   ];
32   disabledTestPaths = [
33     "samples"
34   ];
36   pythonImportsCheck = [
37     "Registry"
38   ];
40   meta = with lib; {
41     description = "Pure Python parser for Windows Registry hives";
42     homepage = "https://github.com/williballenthin/python-registry";
43     license = licenses.asl20;
44     maintainers = [ ];
45   };