Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / dissect-regf / default.nix
blob8f8ae56b383d7d3a07985639037b412f9a46c637
1 { lib
2 , buildPythonPackage
3 , dissect-cstruct
4 , dissect-util
5 , fetchFromGitHub
6 , setuptools
7 , setuptools-scm
8 , pytestCheckHook
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "dissect-regf";
14   version = "3.9";
15   pyproject = true;
17   disabled = pythonOlder "3.9";
19   src = fetchFromGitHub {
20     owner = "fox-it";
21     repo = "dissect.regf";
22     rev = "refs/tags/${version}";
23     hash = "sha256-NLhZnStcJCtXMBkayLjvuG7aK2aN3sWGZaPKVXIoRew=";
24   };
26   nativeBuildInputs = [
27     setuptools
28     setuptools-scm
29   ];
31   propagatedBuildInputs = [
32     dissect-cstruct
33     dissect-util
34   ];
36   nativeCheckInputs = [
37     pytestCheckHook
38   ];
40   pythonImportsCheck = [
41     "dissect.regf"
42   ];
44   meta = with lib; {
45     description = "Dissect module implementing a parser for Windows registry file format";
46     homepage = "https://github.com/fox-it/dissect.regf";
47     changelog = "https://github.com/fox-it/dissect.regf/releases/tag/${version}";
48     license = licenses.agpl3Only;
49     maintainers = with maintainers; [ fab ];
50   };