Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / dissect-fat / default.nix
blob636265f4129c654703d6e003c4a129dc0ce8bd5c
1 { lib
2 , buildPythonPackage
3 , dissect-cstruct
4 , dissect-util
5 , fetchFromGitHub
6 , setuptools
7 , setuptools-scm
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "dissect-fat";
13   version = "3.8";
14   pyproject = true;
16   disabled = pythonOlder "3.9";
18   src = fetchFromGitHub {
19     owner = "fox-it";
20     repo = "dissect.fat";
21     rev = "refs/tags/${version}";
22     hash = "sha256-xFfB7QOZ3KjsOPQ1cPTRkqb0hgD4waOq8kkSTJStQ+E=";
23   };
25   nativeBuildInputs = [
26     setuptools
27     setuptools-scm
28   ];
30   propagatedBuildInputs = [
31     dissect-cstruct
32     dissect-util
33   ];
35   # dissect.fat.exceptions.InvalidBPB: Invalid BS_jmpBoot
36   doCheck = false;
38   pythonImportsCheck = [
39     "dissect.fat"
40   ];
42   meta = with lib; {
43     description = "Dissect module implementing a parser for the FAT file system";
44     homepage = "https://github.com/fox-it/dissect.fat";
45     changelog = "https://github.com/fox-it/dissect.fat/releases/tag/${version}";
46     license = licenses.agpl3Only;
47     maintainers = with maintainers; [ fab ];
48   };