fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
43 lines
795 B
Nix
43 lines
795 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
enum-compat,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
unicodecsv,
|
|
six,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-registry";
|
|
version = "1.4";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "williballenthin";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0gwx5jcribgmmbz0ikhz8iphz7yj2d2nmk24nkdrjd3y5irly11s";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
enum-compat
|
|
unicodecsv
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
six
|
|
];
|
|
|
|
disabledTestPaths = [ "samples" ];
|
|
|
|
pythonImportsCheck = [ "Registry" ];
|
|
|
|
meta = with lib; {
|
|
description = "Pure Python parser for Windows Registry hives";
|
|
homepage = "https://github.com/williballenthin/python-registry";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|