3
0
Fork 0
forked from mirrors/nixpkgs

testssl: 2.9.5-7 -> 2.9.5-8

Changelog: https://github.com/drwetter/testssl.sh/releases/tag/v2.9.5-8
This commit is contained in:
Elis Hirwing 2019-04-24 22:39:26 +02:00
parent 1e40aef922
commit 4fbde5bb37
No known key found for this signature in database
GPG key ID: D57EFA625C9A925F

View file

@ -1,17 +1,15 @@
{ stdenv, fetchFromGitHub, makeWrapper, lib
, dnsutils, coreutils, openssl, nettools, utillinux, procps }:
let
version = "2.9.5-7";
in stdenv.mkDerivation rec {
name = "testssl.sh-${version}";
stdenv.mkDerivation rec {
pname = "testssl.sh";
version = "2.9.5-8";
src = fetchFromGitHub {
owner = "drwetter";
repo = "testssl.sh";
rev = "v${version}";
sha256 = "02xp0yi53xf6jw6v633zs2ws2iyyvq3mlkimg0cv3zvj7nw9x5wr";
sha256 = "1fpakzm2gsv8yva58s23lhlgxkkvi3pixil2mjrlkmr0qk66rc32";
};
nativeBuildInputs = [ makeWrapper ];
@ -31,12 +29,10 @@ in stdenv.mkDerivation rec {
'';
installPhase = ''
install -Dt $out/bin testssl.sh
wrapProgram $out/bin/testssl.sh \
--prefix PATH ':' ${lib.makeBinPath buildInputs}
install -D testssl.sh $out/bin/testssl.sh
cp -r etc $out
wrapProgram $out/bin/testssl.sh --prefix PATH ':' ${lib.makeBinPath buildInputs}
'';
meta = with stdenv.lib; {