1{ 2 lib, 3 buildPythonPackage, 4 dissect-cstruct, 5 dissect-util, 6 fetchFromGitHub, 7 setuptools, 8 setuptools-scm, 9 pythonOlder, 10}: 11 12buildPythonPackage rec { 13 pname = "dissect-fat"; 14 version = "3.9"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.9"; 18 19 src = fetchFromGitHub { 20 owner = "fox-it"; 21 repo = "dissect.fat"; 22 rev = "refs/tags/${version}"; 23 hash = "sha256-U7SSLvEK6IYZjjUIGT9n1w7oLdB8Q2/msQ/EBJfatJY="; 24 }; 25 26 build-system = [ 27 setuptools 28 setuptools-scm 29 ]; 30 31 dependencies = [ 32 dissect-cstruct 33 dissect-util 34 ]; 35 36 # dissect.fat.exceptions.InvalidBPB: Invalid BS_jmpBoot 37 doCheck = false; 38 39 pythonImportsCheck = [ "dissect.fat" ]; 40 41 meta = with lib; { 42 description = "Dissect module implementing a parser for the FAT file system"; 43 homepage = "https://github.com/fox-it/dissect.fat"; 44 changelog = "https://github.com/fox-it/dissect.fat/releases/tag/${version}"; 45 license = licenses.agpl3Only; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}