nixpkgs/pkgs/servers/mail/mlmmj/default.nix

28 lines
674 B
Nix
Raw Normal View History

2014-07-08 23:43:26 +01:00
{ stdenv, fetchurl, pkgconfig }:
stdenv.mkDerivation rec {
name = "mlmmj-${version}";
2015-12-01 07:38:34 +00:00
version = "1.2.19.0";
2014-07-08 23:43:26 +01:00
src = fetchurl {
url = "http://mlmmj.org/releases/${name}.tar.gz";
2015-12-01 07:38:34 +00:00
sha256 = "18n7b41nfdj7acvmqzkkz984d26xvz14xk8kmrnzv23dkda364m0";
2014-07-08 23:43:26 +01:00
};
2017-03-15 16:35:50 +00:00
postInstall = ''
# grab all documentation files
docfiles=$(find -maxdepth 1 -name "[[:upper:]][[:upper:]]*")
install -vDm 644 -t $out/share/doc/mlmmj/ $docfiles
'';
2014-07-08 23:43:26 +01:00
meta = with stdenv.lib; {
homepage = http://mlmmj.org;
description = "Mailing List Management Made Joyful";
maintainers = [ maintainers.edwtjo ];
platforms = platforms.linux;
license = licenses.mit;
};
2017-03-15 16:35:50 +00:00
}