git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #99628 from JustinLovinger/mblaze-1.0

mblaze: 0.5.1 -> 1.0

commit6f90e1df4f27326c52b805cfd01fc79a49208e5c authorDaniël de Kok <me@danieldk.eu> dateTue 6 Oct 2020, 16:21 (6 years ago) parent5a9c9b38dcff07
1 file changed+8−14
pkgs/applications/networking/mailreaders/mblaze/default.nix+8−14
pkgs/applications/networking/mailreaders/mblaze/default.nix+8−14
@@ -1,36 +1,30 @@
1−{ stdenv, lib, fetchFromGitHub, fetchpatch, libiconv, ruby ? null }:
1+{ stdenv, lib, fetchFromGitHub, installShellFiles, libiconv, ruby ? null }:
22
33stdenv.mkDerivation rec {
44 pname = "mblaze";
5− version = "0.5.1";
5+ version = "1.0";
66
7+ nativeBuildInputs = [ installShellFiles ];
78 buildInputs = [ ruby ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
89
910 src = fetchFromGitHub {
10− owner = "chneukirchen";
11+ owner = "leahneukirchen";
1112 repo = "mblaze";
1213 rev = "v${version}";
13− sha256 = "11x548dl2jy9cmgsakqrzfdq166whhk4ja7zkiaxrapkjmkf6pbh";
14+ sha256 = "0hxy3mjjv4hg856sl1r15fdmqaw4s9c26b3lidsd5x0kpqy601ai";
1415 };
1516
16− patches = [
17− (fetchpatch {
18− url = "https://github.com/leahneukirchen/mblaze/commit/53151f4f890f302291eb8d3375dec4f8ecb66ed7.patch";
19− sha256 = "1mcyrh053iiyzdhgm09g5h3a77np496whnc7jr4agpk1nkbcpfxc";
20− })
21− ];
22−
2317 makeFlags = [ "PREFIX=$(out)" ];
2418
2519 postInstall = ''
26− install -Dm644 -t $out/share/zsh/site-functions contrib/_mblaze
20+ installShellCompletion contrib/_mblaze
2721 '' + lib.optionalString (ruby != null) ''
2822 install -Dt $out/bin contrib/msuck contrib/mblow
2923 '';
3024
3125 meta = with lib; {
32− homepage = "https://github.com/chneukirchen/mblaze";
33− description = "Unix utilities to deal with Maildir";
26+ homepage = "https://github.com/leahneukirchen/mblaze";
27+ description = "Unix utilities for processing and interacting with mail messages which are stored in maildir folders";
3428 license = licenses.cc0;
3529 platforms = platforms.all;
3630 maintainers = [ maintainers.ajgrf ];