nixpkgs/pkgs/applications/networking/mailreaders/mblaze/default.nix
2018-02-07 18:54:45 +02:00

25 lines
640 B
Nix

{ stdenv, fetchFromGitHub, libiconv }:
stdenv.mkDerivation rec {
name = "mblaze-${version}";
version = "0.3.1";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
src = fetchFromGitHub {
owner = "chneukirchen";
repo = "mblaze";
rev = "v${version}";
sha256 = "1a4rqadq3dm6r11v7akng1qy88zpiq5qbqdryb8df3pxkv62nm1a";
};
makeFlags = "PREFIX=$(out)";
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 ];
};
}