From 43fe8f28590c70d79c3fba674bdb8e3333c9214f Mon Sep 17 00:00:00 2001 From: Samuel Rivas Date: Mon, 7 Sep 2015 15:14:22 +0200 Subject: [PATCH] color-theme-solarized: initial at 1.0.0 update emacs solarized theme and fix the name * Added myself as maintainer as no one was there * Picked the latest version (no tags in that repo) * Changed the name, this was (probably mistakenly) named as color-theme, which is another package --- .../color-theme-solarized/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/editors/emacs-modes/color-theme-solarized/default.nix b/pkgs/applications/editors/emacs-modes/color-theme-solarized/default.nix index 35f9bd3ceb2..9a0f6855567 100644 --- a/pkgs/applications/editors/emacs-modes/color-theme-solarized/default.nix +++ b/pkgs/applications/editors/emacs-modes/color-theme-solarized/default.nix @@ -1,12 +1,14 @@ -{stdenv, fetchgit, emacs, colorTheme}: - +{stdenv, fetchzip, emacs, colorTheme}: +let + commit = "412713a0fcedd520d208a7b783fea03d710bcc61"; +in stdenv.mkDerivation rec { - name = "color-theme-6.5.5"; + name = "color-theme-solarized-1.0.0"; - src = fetchgit { - url = https://github.com/sellout/emacs-color-theme-solarized.git; - rev = "6a2c7ca0181585858e6e8054cb99db837e2ef72f"; - sha256 = "3c46a3d66c75ec4456209eeafdb03282148b289b12e8474f6a8962f3894796e8"; + src = fetchzip { + + url = "https://github.com/sellout/emacs-color-theme-solarized/archive/${commit}.zip"; + sha256 = "1xd2yk7p39zxgcf91s80pqknzdxw9d09cppjb87g7ihj6f0wxqjv"; }; buildInputs = [ emacs ]; @@ -25,6 +27,7 @@ stdenv.mkDerivation rec { meta = { description = "Precision colors for machines and people"; homepage = http://ethanschoonover.com/solarized; + maintainer = "Samuel Rivas "; license = stdenv.lib.licenses.mit; platforms = stdenv.lib.platforms.all;