about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/python-registry/default.nix
blob: 44795da8ddf7caf931b88e205824af6bf56c2e35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib
, buildPythonPackage
, fetchPypi
, enum-compat
, unicodecsv
}:
buildPythonPackage rec {
  pname = "python-registry";
  version = "1.3.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "99185f67d5601be3e7843e55902d5769aea1740869b0882f34ff1bd4b43b1eb2";
  };

  propagatedBuildInputs = [
    enum-compat
    unicodecsv
  ];

  # no tests
  doCheck = false;

  pythonImportsCheck = [
    "Registry"
  ];

  meta = with lib; {
    description = "Pure Python parser for Windows Registry hives";
    homepage = "https://github.com/williballenthin/python-registry";
    license = licenses.asl20;
    maintainers = teams.determinatesystems.members;
  };
}