Merge pull request #47112 from Avaq/add/twa

twa: init at 1.3.1
This commit is contained in:
Jörg Thalheim 2018-09-24 21:41:37 +01:00 committed by GitHub
commit 0fcf01958b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 0 deletions

View File

@ -381,6 +381,11 @@
github = "auntie";
name = "Jonathan Glines";
};
avaq = {
email = "avaq+nixos@xs4all.nl";
github = "avaq";
name = "Aldwin Vlasblom";
};
avery = {
email = "averyl+nixos@protonmail.com";
github = "AveryLychee";

View File

@ -0,0 +1,34 @@
{ stdenv, fetchFromGitHub, makeWrapper, bash, gawk, curl, netcat, ncurses }:
stdenv.mkDerivation rec {
name = "twa-${version}";
version = "1.3.1";
src = fetchFromGitHub {
owner = "trailofbits";
repo = "twa";
rev = version;
sha256 = "16x9nzsrf10waqmjm423vx44820c6mls7gxc8azrdqnz18vdy1h4";
};
dontBuild = true;
buildInputs = [ makeWrapper bash gawk curl netcat ];
installPhase = ''
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"
install -Dm 0644 README.md "$out/share/doc/twa/README.md"
wrapProgram "$out/bin/twa" \
--prefix PATH : ${stdenv.lib.makeBinPath [ curl netcat ncurses ]}
'';
meta = {
description = "A tiny web auditor with strong opinions";
homepage = https://github.com/trailofbits/twa;
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ avaq ];
};
}

View File

@ -14733,6 +14733,8 @@ with pkgs;
tunctl = callPackage ../os-specific/linux/tunctl { };
twa = callPackage ../tools/networking/twa { };
# Upstream U-Boots:
inherit (callPackage ../misc/uboot {})
buildUBoot