pythonPackages: barectf: init at 3.1.2

This commit is contained in:
Madoura 2023-10-02 00:57:40 -05:00
parent 575ce47fa4
commit 5021abc8de
No known key found for this signature in database
GPG Key ID: 1B9BB76A2B71922D
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
, 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 ];
nativeCheckInputs = [ pytestCheckHook ];
propagatedBuildInputs = [
setuptools # needs pkg_resources at runtime
jsonschema
pyyaml
jinja2
termcolor
];
pythonImportsCheck = [ "barectf" ];
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 ];
};
}

View File

@ -1297,6 +1297,8 @@ self: super: with self; {
inherit (pkgs.ocaml-ng.ocamlPackages) bap;
};
barectf = callPackage ../development/python-modules/barectf { };
baron = callPackage ../development/python-modules/baron { };
base36 = callPackage ../development/python-modules/base36 { };