14 stdenv.mkDerivation rec {
18 src = fetchFromGitHub {
19 owner = "trailofbits";
22 hash = "sha256-8c1o03iwStmhjKHmEXIZGyaSOAJRlOuhu0ERjCO5SHg=";
27 nativeBuildInputs = [ makeWrapper ];
39 install -Dm 0755 twa "$out/bin/twa"
40 install -Dm 0755 tscore "$out/bin/tscore"
41 install -Dm 0644 twa.1 "$out/share/man/man1/twa.1"
42 install -Dm 0644 README.md "$out/share/doc/twa/README.md"
44 wrapProgram "$out/bin/twa" \
45 --prefix PATH : ${lib.makeBinPath [ curl
56 description = "A tiny web auditor with strong opinions";
57 homepage = "https://github.com/trailofbits/twa";
58 license = licenses.mit;
59 maintainers = with maintainers; [ avaq ];
60 platforms = platforms.unix;