@@ -3,13 +3,13 @@
33
44stdenv.mkDerivation rec {
55 pname = "testssl.sh";
6− version = "3.0rc4";
6+ version = "3.0rc5";
77
88 src = fetchFromGitHub {
99 owner = "drwetter";
10− repo = "testssl.sh";
10+ repo = pname;
1111 rev = version;
12− sha256 = "1qmsi3f4977ig8s14my5z2w9gydddanrij78f7jhyr2c8kkip7q7";
12+ sha256 = "14b9n0h4f2dsa292wi9gnan5ncgqblis6wyh5978lhjzi1d7gyds";
1313 };
1414
1515 nativeBuildInputs = [ makeWrapper ];
@@ -25,7 +25,8 @@ stdenv.mkDerivation rec {
2525 postPatch = ''
2626 substituteInPlace testssl.sh \
2727 --replace /bin/pwd pwd \
28− --replace TESTSSL_INSTALL_DIR:-\"\" TESTSSL_INSTALL_DIR:-\"$out\"
28+ --replace TESTSSL_INSTALL_DIR:-\"\" TESTSSL_INSTALL_DIR:-\"$out\" \
29+ --replace PROG_NAME=\"\$\(basename\ \"\$0\"\)\" PROG_NAME=\"testssl.sh\"
2930 '';
3031
3132 installPhase = ''