summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs-modes/color-theme/default.nix
blob: 327e11bf08624464cad4644f2bc76283fdfcfcd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{stdenv, fetchurl, emacs}:

stdenv.mkDerivation rec {
  name = "color-theme-6.6.0";

  src = fetchurl {
    url = "mirror://savannah/color-theme/${name}.tar.gz";
    sha256 = "0yx1ghcjc66s1rl0v3d4r1k88ifw591hf814ly3d73acvh15zlsn";
  };

  # patches from http://aur.archlinux.org/packages.php?ID=54883
  patches = [ ./fix-build.patch ./gnus-bug.diff ];

  buildInputs = [ emacs ];

  installFlags = [ "ELISPDIR=$(out)/share/emacs/site-lisp" ];
  installTargets = "install-bin";

  meta = {
    description = "An emacs-lisp mode for skinning your emacs.";
    homepage = http://www.nongnu.org/color-theme;
    license = "GPLv2+";

    platforms = stdenv.lib.platforms.all;
  };
}