mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 08:01:14 +00:00
28 lines
674 B
Nix
28 lines
674 B
Nix
{ stdenv, fetchurl, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mlmmj-${version}";
|
|
version = "1.2.19.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://mlmmj.org/releases/${name}.tar.gz";
|
|
sha256 = "18n7b41nfdj7acvmqzkkz984d26xvz14xk8kmrnzv23dkda364m0";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|