Files
nixpkgs/pkgs/development/python-modules/barectf/default.nix
T
Martin Weinelt 3321e63b12 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/sphinx-autobuild/default.nix
2024-03-19 04:00:32 +01:00

65 lines
1.1 KiB
Nix

{ 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
];
pytestFlagsArray = [
"-W" "ignore::pytest.PytestRemovedIn8Warning"
];
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 ];
};
}