Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / dissect-thumbcache / default.nix
blob6c1a68b64785d0405ad1577232f7bd295ed6013c
1 { lib
2 , buildPythonPackage
3 , dissect-cstruct
4 , dissect-util
5 , fetchFromGitHub
6 , pytestCheckHook
7 , pythonOlder
8 , setuptools
9 , setuptools-scm
12 buildPythonPackage rec {
13   pname = "dissect-thumbcache";
14   version = "1.7";
15   pyproject = true;
17   disabled = pythonOlder "3.9";
19   src = fetchFromGitHub {
20     owner = "fox-it";
21     repo = "dissect.thumbcache";
22     rev = "refs/tags/${version}";
23     hash = "sha256-t5LovLS+YMWQWMCFP6jh3SNiLb/Jy9we4FX6MmsIJmY=";
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.thumbcache"
42   ];
44   disabledTests = [
45     # Don't run Windows related tests
46     "windows"
47     "test_index_type"
48   ];
50   meta = with lib; {
51     description = "Dissect module implementing a parser for the Windows thumbcache";
52     homepage = "https://github.com/fox-it/dissect.thumbcache";
53     changelog = "https://github.com/fox-it/dissect.thumbcache/releases/tag/${version}";
54     license = licenses.agpl3Only;
55     maintainers = with maintainers; [ fab ];
56   };