8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
27 lines
664 B
Nix
27 lines
664 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mlmmj";
|
|
version = "1.3.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://mlmmj.org/releases/${pname}-${version}.tar.gz";
|
|
sha256 = "1sghqvwizvm1a9w56r34qy5njaq1c26bagj85r60h32gh3fx02bn";
|
|
};
|
|
|
|
postInstall = ''
|
|
# grab all documentation files
|
|
docfiles=$(find -maxdepth 1 -name "[[:upper:]][[:upper:]]*")
|
|
install -vDm 644 -t $out/share/doc/mlmmj/ $docfiles
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "http://mlmmj.org";
|
|
description = "Mailing List Management Made Joyful";
|
|
maintainers = [ maintainers.edwtjo ];
|
|
platforms = platforms.linux;
|
|
license = licenses.mit;
|
|
};
|
|
|
|
}
|