about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorDaniƫl de Kok <me@danieldk.eu>2020-10-06 16:21:11 +0200
committerGitHub <noreply@github.com>2020-10-06 16:21:11 +0200
commit6f90e1df4f27326c52b805cfd01fc79a49208e5c (patch)
tree0b3bc8c0c12fa09e105cc0e6abe1ca0a4cd508a8 /pkgs
parent5a9c9b35833675754572029834fc05c6e707bd3d (diff)
parent8dcff07e424778e6345885e48a1c6e5d05d34b65 (diff)
Merge pull request #99628 from JustinLovinger/mblaze-1.0
mblaze: 0.5.1 -> 1.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/mailreaders/mblaze/default.nix22
1 files changed, 8 insertions, 14 deletions
diff --git a/pkgs/applications/networking/mailreaders/mblaze/default.nix b/pkgs/applications/networking/mailreaders/mblaze/default.nix
index fc9001e59e322..2ac32f34304f6 100644
--- a/pkgs/applications/networking/mailreaders/mblaze/default.nix
+++ b/pkgs/applications/networking/mailreaders/mblaze/default.nix
@@ -1,36 +1,30 @@
-{ stdenv, lib, fetchFromGitHub, fetchpatch, libiconv, ruby ? null }:
+{ stdenv, lib, fetchFromGitHub, installShellFiles, libiconv, ruby ? null }:
 
 stdenv.mkDerivation rec {
   pname = "mblaze";
-  version = "0.5.1";
+  version = "1.0";
 
+  nativeBuildInputs = [ installShellFiles ];
   buildInputs = [ ruby ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
 
   src = fetchFromGitHub {
-    owner = "chneukirchen";
+    owner = "leahneukirchen";
     repo = "mblaze";
     rev = "v${version}";
-    sha256 = "11x548dl2jy9cmgsakqrzfdq166whhk4ja7zkiaxrapkjmkf6pbh";
+    sha256 = "0hxy3mjjv4hg856sl1r15fdmqaw4s9c26b3lidsd5x0kpqy601ai";
   };
 
-  patches = [
-    (fetchpatch {
-      url = "https://github.com/leahneukirchen/mblaze/commit/53151f4f890f302291eb8d3375dec4f8ecb66ed7.patch";
-      sha256 = "1mcyrh053iiyzdhgm09g5h3a77np496whnc7jr4agpk1nkbcpfxc";
-    })
-  ];
-
   makeFlags = [ "PREFIX=$(out)" ];
 
   postInstall = ''
-    install -Dm644 -t $out/share/zsh/site-functions contrib/_mblaze
+    installShellCompletion contrib/_mblaze
   '' + lib.optionalString (ruby != null) ''
     install -Dt $out/bin contrib/msuck contrib/mblow
   '';
 
   meta = with lib; {
-    homepage = "https://github.com/chneukirchen/mblaze";
-    description = "Unix utilities to deal with Maildir";
+    homepage = "https://github.com/leahneukirchen/mblaze";
+    description = "Unix utilities for processing and interacting with mail messages which are stored in maildir folders";
     license = licenses.cc0;
     platforms = platforms.all;
     maintainers = [ maintainers.ajgrf ];