blob: 0a4254524c74352c238d55cd6c78c7597b1bbe07 (
plain)
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
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
unicodecsv,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "python-registry";
version = "1.4";
pyproject = true;
src = fetchFromGitHub {
owner = "williballenthin";
repo = "python-registry";
tag = version;
hash = "sha256-OgRPcyx+NJnbtETMakUT0p8Pb0Qfzgj+qvWtmJksnT8=";
};
pythonRemoveDeps = [ "enum-compat" ];
build-system = [ setuptools ];
dependencies = [ unicodecsv ];
nativeCheckInputs = [
pytestCheckHook
six
];
disabledTestPaths = [ "samples" ];
pythonImportsCheck = [ "Registry" ];
meta = {
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 = lib.licenses.asl20;
maintainers = [ ];
};
}
|