1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, poetry-core 5, pytestCheckHook 6, setuptools 7, jsonschema 8, pyyaml 9, jinja2 10, termcolor 11}: 12 13buildPythonPackage rec { 14 pname = "barectf"; 15 version = "3.1.2"; 16 format = "pyproject"; 17 18 src = fetchFromGitHub { 19 owner = "efficios"; 20 repo = "barectf"; 21 rev = "v${version}"; 22 hash = "sha256-JelFfd3WS012dveNlIljhLdyPmgE9VEOXoZE3MBA/Gw="; 23 }; 24 25 nativeBuildInputs = [ poetry-core ]; 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 propagatedBuildInputs = [ 29 setuptools # needs pkg_resources at runtime 30 jsonschema 31 pyyaml 32 jinja2 33 termcolor 34 ]; 35 36 pythonImportsCheck = [ "barectf" ]; 37 38 meta = with lib; { 39 description = "Generator of ANSI C tracers which output CTF data streams "; 40 homepage = "https://github.com/efficios/barectf"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ Madouura ]; 43 }; 44}