nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 53 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 defusedxml, 5 dissect-cstruct, 6 dissect-util, 7 fetchFromGitHub, 8 setuptools, 9 setuptools-scm, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "dissect-etl"; 15 version = "3.14"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "fox-it"; 20 repo = "dissect.etl"; 21 tag = version; 22 hash = "sha256-QmtFkzO57jLTQg16MawAgU7Vq8vgo7DkEDq+FEjnObs="; 23 }; 24 25 build-system = [ 26 setuptools 27 setuptools-scm 28 ]; 29 30 dependencies = [ 31 defusedxml 32 dissect-cstruct 33 dissect-util 34 ]; 35 36 nativeCheckInputs = [ pytestCheckHook ]; 37 38 pythonImportsCheck = [ "dissect.etl" ]; 39 40 disabledTests = [ 41 # Invalid header magic 42 "test_sqlite" 43 "test_empty" 44 ]; 45 46 meta = { 47 description = "Dissect module implementing a parser for Event Trace Log (ETL) files"; 48 homepage = "https://github.com/fox-it/dissect.etl"; 49 changelog = "https://github.com/fox-it/dissect.etl/releases/tag/${src.tag}"; 50 license = lib.licenses.agpl3Only; 51 maintainers = with lib.maintainers; [ fab ]; 52 }; 53}