Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 59 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, pytestCheckHook, pythonRelaxDepsHook, 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 pythonRelaxDepsHook ];
pythonRelaxDeps = [ "jsonschema" "pyyaml" "termcolor" ];
propagatedBuildInputs = [ setuptools # needs pkg_resources at runtime jsonschema pyyaml jinja2 termcolor ];
pythonImportsCheck = [ "barectf" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { description = "Generator of ANSI C tracers which output CTF data streams "; homepage = "https://github.com/efficios/barectf"; license = licenses.mit; maintainers = with maintainers; [ Madouura ]; };}