3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/mailreaders/mblaze/default.nix
2019-02-24 02:07:08 +01:00

30 lines
732 B
Nix

{ stdenv, fetchFromGitHub, libiconv }:
stdenv.mkDerivation rec {
name = "mblaze-${version}";
version = "0.5";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
src = fetchFromGitHub {
owner = "chneukirchen";
repo = "mblaze";
rev = "v${version}";
sha256 = "0fyvydafpz7vmwgn7hc4drm9sb7367smrd07wfyizpas0gmxw2j8";
};
makeFlags = "PREFIX=$(out)";
postInstall = ''
install -Dm644 -t $out/share/zsh/site-functions contrib/_mblaze
'';
meta = with stdenv.lib; {
homepage = https://github.com/chneukirchen/mblaze;
description = "Unix utilities to deal with Maildir";
license = licenses.cc0;
platforms = platforms.all;
maintainers = [ maintainers.ajgrf ];
};
}