notmuch: 0.25.2 -> 0.25.3

This commit is contained in:
Moritz Ulrich 2017-12-09 14:01:15 +01:00
parent 7df7739888
commit 8974a9bf9a
No known key found for this signature in database
GPG Key ID: 45833CACBC407FA7

View File

@ -12,7 +12,7 @@
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.25.2"; version = "0.25.3";
name = "notmuch-${version}"; name = "notmuch-${version}";
passthru = { passthru = {
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "http://notmuchmail.org/releases/${name}.tar.gz"; url = "http://notmuchmail.org/releases/${name}.tar.gz";
sha256 = "0ai6vbs9wzwfz7jcphgqsqpcbq137l34xhmcli4h5c8n82fvmdp4"; sha256 = "1fyx20rjpwbf2j1v5fpa5s0rjnwhcgvijzh2qyinp8rlbh1qxmab";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
@ -40,14 +40,9 @@ stdenv.mkDerivation rec {
++ optionals (!stdenv.isDarwin) [ gdb man ]; # test dependencies ++ optionals (!stdenv.isDarwin) [ gdb man ]; # test dependencies
postPatch = '' postPatch = ''
find test -type f -exec \ find test/ -type f -exec \
sed -i \ sed -i \
-e "1s|#!/usr/bin/env bash|#!${bash}/bin/bash|" \ -e "1s|#!/usr/bin/env bash|#!${bash}/bin/bash|" \
-e "s|gpg |${gnupg}/bin/gpg |" \
-e "s| gpg| ${gnupg}/bin/gpg|" \
-e "s|gpgsm |${gnupg}/bin/gpgsm |" \
-e "s| gpgsm| ${gnupg}/bin/gpgsm|" \
-e "s|crypto.gpg_path=gpg|crypto.gpg_path=${gnupg}/bin/gpg|" \
"{}" ";" "{}" ";"
for src in \ for src in \