1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/editors/emacs-modes/org/default.nix

50 lines
1.2 KiB
Nix
Raw Normal View History

2012-09-03 23:40:05 +01:00
{ fetchurl, stdenv, emacs, texinfo, which, texLive }:
stdenv.mkDerivation rec {
2013-10-01 14:52:31 +01:00
name = "org-8.2.1";
src = fetchurl {
url = "http://orgmode.org/${name}.tar.gz";
2013-10-01 14:52:31 +01:00
sha256 = "625e2b6786158bcf6c43194075f7638ab8048c68a60025289a051c407e467823";
};
2012-09-03 23:40:05 +01:00
buildInputs = [ emacs ];
nativeBuildInputs = [ texinfo texLive ];
configurePhase =
2012-09-03 23:40:05 +01:00
'' sed -i mk/default.mk \
-e "s|^prefix\t=.*$|prefix=$out|g"
'';
2012-09-03 23:40:05 +01:00
postBuild =
'' make doc
'';
installPhase =
'' make install install-info
mkdir -p "$out/share/doc/${name}"
cp -v doc/org*.{html,pdf,txt} "$out/share/doc/${name}"
mkdir -p "$out/share/org"
cp -R contrib "$out/share/org/contrib"
'';
meta = {
description = "Org-Mode, an Emacs mode for notes, project planning, and authoring";
longDescription =
'' Org-mode is for keeping notes, maintaining ToDo lists, doing project
planning, and authoring with a fast and effective plain-text system.
This package contains a version of Org-mode typically more recent
than that found in GNU Emacs.
'';
license = "GPLv3+";
2013-08-16 22:44:33 +01:00
maintainers = with stdenv.lib.maintainers; [ chaoflow ];
platforms = stdenv.lib.platforms.gnu;
};
}