nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at haskell-updates 51 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 dissect-cstruct, 5 dissect-util, 6 fetchFromGitHub, 7 setuptools, 8 setuptools-scm, 9 pytestCheckHook, 10 pythonAtLeast, 11}: 12 13buildPythonPackage rec { 14 pname = "dissect-evidence"; 15 version = "3.12"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "fox-it"; 20 repo = "dissect.evidence"; 21 tag = version; 22 hash = "sha256-kSM2fXaK3H6os/RexwOGg2d8UptoAlHnYK7FlMTg2bI="; 23 }; 24 25 build-system = [ 26 setuptools 27 setuptools-scm 28 ]; 29 30 dependencies = [ 31 dissect-cstruct 32 dissect-util 33 ]; 34 35 nativeCheckInputs = [ pytestCheckHook ]; 36 37 disabledTests = lib.optionals (pythonAtLeast "3.14") [ 38 # https://github.com/fox-it/dissect.evidence/issues/46 39 "test_ewf" 40 ]; 41 42 pythonImportsCheck = [ "dissect.evidence" ]; 43 44 meta = { 45 description = "Dissect module implementing a parsers for various forensic evidence file containers"; 46 homepage = "https://github.com/fox-it/dissect.evidence"; 47 changelog = "https://github.com/fox-it/dissect.evidence/releases/tag/${src.tag}"; 48 license = lib.licenses.agpl3Only; 49 maintainers = with lib.maintainers; [ fab ]; 50 }; 51}