2018-01-13 12:48:37 +01:00
|
|
|
{ stdenv, fetchFromGitHub, libiconv }:
|
2018-01-06 15:59:36 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mblaze-${version}";
|
2018-08-24 09:32:47 +02:00
|
|
|
version = "0.4";
|
2018-01-06 15:59:36 +01:00
|
|
|
|
2018-01-13 12:48:37 +01:00
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
|
|
|
|
|
2018-01-06 15:59:36 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "chneukirchen";
|
|
|
|
repo = "mblaze";
|
|
|
|
rev = "v${version}";
|
2018-08-24 09:32:47 +02:00
|
|
|
sha256 = "15ac213a17mxni3bqvzxhiln65s4almrlmv72bbcgi7cymb303rp";
|
2018-01-06 15:59:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|