diff options
author | Elis Hirwing <elis@hirwing.se> | 2018-04-09 18:49:50 +0200 |
---|---|---|
committer | Elis Hirwing <elis@hirwing.se> | 2018-04-09 18:49:50 +0200 |
commit | 7b4ed22b540184bb9cf7a2d38f8a04ee361e3689 (patch) | |
tree | ee693613441223d6a812fb1d9833e45bf8bf3765 /pkgs/applications/networking/testssl/default.nix | |
parent | a05f246bdd11489bd04739259c443e4ee572187a (diff) | |
download | nixpkgs-7b4ed22b540184bb9cf7a2d38f8a04ee361e3689.tar nixpkgs-7b4ed22b540184bb9cf7a2d38f8a04ee361e3689.tar.gz nixpkgs-7b4ed22b540184bb9cf7a2d38f8a04ee361e3689.tar.bz2 nixpkgs-7b4ed22b540184bb9cf7a2d38f8a04ee361e3689.tar.lz nixpkgs-7b4ed22b540184bb9cf7a2d38f8a04ee361e3689.tar.xz nixpkgs-7b4ed22b540184bb9cf7a2d38f8a04ee361e3689.tar.zst nixpkgs-7b4ed22b540184bb9cf7a2d38f8a04ee361e3689.zip |
testssl: 2.9.5-3 -> 2.9.5-4
Changelog: https://github.com/drwetter/testssl.sh/releases/tag/v2.9.5-4 Also improved the expression to be more readable.
Diffstat (limited to 'pkgs/applications/networking/testssl/default.nix')
-rw-r--r-- | pkgs/applications/networking/testssl/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/applications/networking/testssl/default.nix b/pkgs/applications/networking/testssl/default.nix index 24ffe61b5ab..97c05dfafdb 100644 --- a/pkgs/applications/networking/testssl/default.nix +++ b/pkgs/applications/networking/testssl/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchFromGitHub, pkgs }: let - version = "2.9.5-3"; + version = "2.9.5-4"; pwdBinPath = "${stdenv.lib.makeBinPath (with pkgs; [ coreutils ])}/pwd"; opensslBinPath = "${stdenv.lib.makeBinPath (with pkgs; [ openssl ])}/openssl"; @@ -12,16 +12,16 @@ in stdenv.mkDerivation rec { owner = "drwetter"; repo = "testssl.sh"; rev = "v${version}"; - sha256 = "07vlmf3gn2xa4wam2sql6c1s1hvj5adzd6l1fl12lq066v0k7r7n"; + sha256 = "0pfp7r4jhvkh06vawqlvq7vp4imwp6dpq6jx8m0k3j85ywwp45pd"; }; patches = [ ./testssl.patch ]; postPatch = '' - sed -i -e "s|/bin/pwd|${pwdBinPath}|g" \ - -e "s|TESTSSL_INSTALL_DIR:-\"\"|TESTSSL_INSTALL_DIR:-\"$out\"|g" \ - -e "s|OPENSSL:-\"\"|OPENSSL:-\"${opensslBinPath}\"|g" \ - testssl.sh + substituteInPlace testssl.sh \ + --replace /bin/pwd ${pwdBinPath} \ + --replace TESTSSL_INSTALL_DIR:-\"\" TESTSSL_INSTALL_DIR:-\"$out\" \ + --replace @@openssl-path@@ ${opensslBinPath} ''; installPhase = '' |