From 1d7bc50e9ac5ed00db44e4f3387fdcd8de892e5e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 26 Dec 2011 20:24:59 +0000 Subject: [PATCH] emacs-modes/magit: updated to 1.1.0.0 svn path=/nixpkgs/trunk/; revision=31106 --- .../editors/emacs-modes/magit/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/editors/emacs-modes/magit/default.nix b/pkgs/applications/editors/emacs-modes/magit/default.nix index 0746dd5b3be..1af31c2ba5c 100644 --- a/pkgs/applications/editors/emacs-modes/magit/default.nix +++ b/pkgs/applications/editors/emacs-modes/magit/default.nix @@ -1,22 +1,19 @@ { stdenv, fetchurl, emacs, texinfo }: let - version = "1.0.0"; + version = "1.1.0"; in stdenv.mkDerivation { name = "magit-${version}"; src = fetchurl { url = "http://github.com/downloads/magit/magit/magit-${version}.tar.gz"; - sha256 = "1hfdl90d96zin31v8x4p8zx5f0x0i5i9hccysx6q3prdgw9r6wzq"; + sha256 = "8e147e1f2e69938232f859daf712515b46aa367d7b7d90b42538e083f52a72b4"; }; buildInputs = [emacs texinfo]; - configurePhase = - '' sed -i Makefile \ - -e "s|^PREFIX=.*$|PREFIX=$out|g ; s|/etc/emacs/|$out/etc/emacs/|" - ''; + configurePhase = "makeFlagsArray=( PREFIX=$out SYSCONFDIR=$out/etc )"; meta = { description = "Magit, an Emacs interface to Git"; @@ -34,7 +31,7 @@ stdenv.mkDerivation { ''; license = "GPLv3+"; - homepage = "http://github.com/philjackson/magit"; + homepage = "https://github.com/magit/magit"; platforms = stdenv.lib.platforms.all; maintainers = with stdenv.lib.maintainers; [ simons ludo ]; };