mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00

This reverts commit65a333600d
. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 /758551e458
55 lines
1,016 B
Nix
55 lines
1,016 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|