Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 58 lines 1.2 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 dissect-cstruct, 5 dissect-util, 6 fetchFromGitHub, 7 setuptools, 8 setuptools-scm, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "dissect-ntfs"; 14 version = "3.15"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "fox-it"; 19 repo = "dissect.ntfs"; 20 tag = version; 21 hash = "sha256-dd0AGkOXd+7VB6RIGiLoq1AFi4Uns1axW4V8MN8W7ao="; 22 }; 23 24 build-system = [ 25 setuptools 26 setuptools-scm 27 ]; 28 29 dependencies = [ 30 dissect-cstruct 31 dissect-util 32 ]; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 36 pythonImportsCheck = [ "dissect.ntfs" ]; 37 38 disabledTestPaths = [ 39 # Test is very time consuming 40 "tests/test_index.py" 41 ]; 42 43 disabledTests = [ 44 # Issue with archive 45 "test_mft" 46 "test_ntfs" 47 "test_secure" 48 "test_fragmented_mft" 49 ]; 50 51 meta = { 52 description = "Dissect module implementing a parser for the NTFS file system"; 53 homepage = "https://github.com/fox-it/dissect.ntfs"; 54 changelog = "https://github.com/fox-it/dissect.ntfs/releases/tag/${src.tag}"; 55 license = lib.licenses.agpl3Only; 56 maintainers = with lib.maintainers; [ fab ]; 57 }; 58}