Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / dissect-extfs / default.nix
blob6838350cb8dee6466a26212ef76bf8283aaf83a4
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-extfs";
14   version = "3.9";
15   format = "pyproject";
17   disabled = pythonOlder "3.9";
19   src = fetchFromGitHub {
20     owner = "fox-it";
21     repo = "dissect.extfs";
22     rev = "refs/tags/${version}";
23     hash = "sha256-xZEULUm0I754f9MEIUZEua76SaY/WMFp4Q5BMNZ8fWU=";
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.extfs"
42   ];
44   # Archive files seems to be corrupt
45   doCheck = false;
47   meta = with lib; {
48     description = "Dissect module implementing a parser for the ExtFS file system";
49     homepage = "https://github.com/fox-it/dissect.extfs";
50     changelog = "https://github.com/fox-it/dissect.extfs/releases/tag/${version}";
51     license = licenses.agpl3Only;
52     maintainers = with maintainers; [ fab ];
53   };