mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-10 22:30:59 +00:00
taler-twister: init at 1.0.0 (#403332)
This commit is contained in:
50
pkgs/by-name/ta/taler-twister/package.nix
Normal file
50
pkgs/by-name/ta/taler-twister/package.nix
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchgit,
|
||||
autoreconfHook,
|
||||
pkg-config,
|
||||
curl,
|
||||
gnunet,
|
||||
jansson,
|
||||
libgcrypt,
|
||||
libmicrohttpd,
|
||||
libsodium,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "taler-twister";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.taler.net/twister.git";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ir+kU9bCWwhqR88hmNHB5cm1DXOQowI5y6GdhWpX/L0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
gnunet
|
||||
jansson
|
||||
libgcrypt
|
||||
libmicrohttpd
|
||||
libsodium
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://git.taler.net/twister.git";
|
||||
description = "Fault injector for HTTP traffic";
|
||||
teams = with lib.teams; [ ngi ];
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
license = lib.licenses.agpl3Plus;
|
||||
mainProgram = "twister";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user