Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 55 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, pytest7CheckHook, setuptools, jsonschema, pyyaml, jinja2, termcolor,}:
buildPythonPackage rec { pname = "barectf"; version = "3.1.2"; format = "pyproject";
src = fetchFromGitHub { owner = "efficios"; repo = "barectf"; rev = "v${version}"; hash = "sha256-JelFfd3WS012dveNlIljhLdyPmgE9VEOXoZE3MBA/Gw="; };
nativeBuildInputs = [ poetry-core ];
pythonRelaxDeps = [ "jsonschema" "pyyaml" "termcolor" ];
propagatedBuildInputs = [ setuptools # needs pkg_resources at runtime jsonschema pyyaml jinja2 termcolor ];
pythonImportsCheck = [ "barectf" ];
nativeCheckInputs = [ pytest7CheckHook ];
meta = with lib; { description = "Generator of ANSI C tracers which output CTF data streams"; mainProgram = "barectf"; homepage = "https://github.com/efficios/barectf"; license = licenses.mit; maintainers = with maintainers; [ Madouura ]; };}