From 72164eb57f7cc522670d03e77cd0a5931ef6559b Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Sun, 10 Mar 2019 16:42:14 -0700 Subject: [PATCH 1/2] mblaze: 0.5 -> 0.5.1 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mblaze/versions --- pkgs/applications/networking/mailreaders/mblaze/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/mailreaders/mblaze/default.nix b/pkgs/applications/networking/mailreaders/mblaze/default.nix index 6356fcfc209..2da31336410 100644 --- a/pkgs/applications/networking/mailreaders/mblaze/default.nix +++ b/pkgs/applications/networking/mailreaders/mblaze/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { name = "mblaze-${version}"; - version = "0.5"; + version = "0.5.1"; buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv ]; @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { owner = "chneukirchen"; repo = "mblaze"; rev = "v${version}"; - sha256 = "0fyvydafpz7vmwgn7hc4drm9sb7367smrd07wfyizpas0gmxw2j8"; + sha256 = "11x548dl2jy9cmgsakqrzfdq166whhk4ja7zkiaxrapkjmkf6pbh"; }; makeFlags = "PREFIX=$(out)"; From 4f841f235cefabfc77fba02456ff672a6977c1a1 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 28 Mar 2019 22:47:56 +0100 Subject: [PATCH 2/2] mblaze: Add patch to fix Darwin build --- .../networking/mailreaders/mblaze/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/mailreaders/mblaze/default.nix b/pkgs/applications/networking/mailreaders/mblaze/default.nix index 2da31336410..f00ec6e6566 100644 --- a/pkgs/applications/networking/mailreaders/mblaze/default.nix +++ b/pkgs/applications/networking/mailreaders/mblaze/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, libiconv }: +{ stdenv, fetchFromGitHub, fetchpatch, libiconv }: stdenv.mkDerivation rec { name = "mblaze-${version}"; @@ -13,6 +13,13 @@ stdenv.mkDerivation rec { sha256 = "11x548dl2jy9cmgsakqrzfdq166whhk4ja7zkiaxrapkjmkf6pbh"; }; + patches = [ + (fetchpatch { + url = "https://github.com/leahneukirchen/mblaze/commit/53151f4f890f302291eb8d3375dec4f8ecb66ed7.patch"; + sha256 = "1mcyrh053iiyzdhgm09g5h3a77np496whnc7jr4agpk1nkbcpfxc"; + }) + ]; + makeFlags = "PREFIX=$(out)"; postInstall = ''