twa: 1.9.1 -> 1.10.0

(#156769)
This commit is contained in:
Renaud 2022-01-27 19:46:26 +01:00 committed by GitHub
parent 7ec99ea7cf
commit 4dc70faa6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,25 +1,25 @@
{ stdenv
{ lib
, stdenv
, fetchFromGitHub
, makeWrapper
, bash
, curl
, fetchFromGitHub
, dnsutils
, gawk
, host
, jq
, lib
, makeWrapper
, ncurses
, netcat
}:
stdenv.mkDerivation rec {
pname = "twa";
version = "1.9.1";
version = "1.10.0";
src = fetchFromGitHub {
owner = "trailofbits";
repo = "twa";
rev = version;
sha256 = "1ab3bcyhfach9y15w8ffvqqan2qk8h62n6z8nqbgygi7n1mf6jzx";
rev = "v${version}";
hash = "sha256-8c1o03iwStmhjKHmEXIZGyaSOAJRlOuhu0ERjCO5SHg=";
};
dontBuild = true;
@ -28,12 +28,14 @@ stdenv.mkDerivation rec {
buildInputs = [ bash
curl
dnsutils
gawk
host.dnsutils
jq
netcat ];
installPhase = ''
runHook preInstall
install -Dm 0755 twa "$out/bin/twa"
install -Dm 0755 tscore "$out/bin/tscore"
install -Dm 0644 twa.1 "$out/share/man/man1/twa.1"
@ -41,10 +43,13 @@ stdenv.mkDerivation rec {
wrapProgram "$out/bin/twa" \
--prefix PATH : ${lib.makeBinPath [ curl
host.dnsutils
jq
ncurses
netcat ]}
dnsutils
gawk
jq
ncurses
netcat ]}
runHook postInstall
'';
meta = with lib; {