Skip to content

Commit

Permalink
Merge pull request #138 from ngi-nix/twister
Browse files Browse the repository at this point in the history
twister: init at 0.9.3
  • Loading branch information
alejandrosame authored Dec 29, 2023
2 parents a9b16ad + 265d2f0 commit 14dc7fd
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions pkgs/by-name/twister/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
autoreconfHook,
curl,
fetchgit,
gnunet,
jansson,
lib,
libgcrypt,
libmicrohttpd,
libsodium,
pkg-config,
stdenv,
}: let
version = "0.9.3";
in
stdenv.mkDerivation {
inherit version;
pname = "twister";

src = fetchgit {
url = "https://git.taler.net/twister.git";
rev = "v${version}";
hash = "sha256-3Zp/x46xuL01J3/SR3ab5REcJMC3eQPnSkpOzeK3MKk=";
};

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.";
license = lib.licenses.agpl3Plus;
};
}

0 comments on commit 14dc7fd

Please sign in to comment.