emacs-magit: update to version 2.3.0

This commit is contained in:
Peter Simons 2015-10-30 14:33:53 +01:00
parent 0608615f78
commit dd3d3110a7

View File

@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, emacs, texinfo, gitModes, git, dash }: { stdenv, fetchFromGitHub, emacs, texinfo, gitModes, git, dash }:
let let
version = "2.2.1"; version = "2.3.0";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "magit-${version}"; name = "magit-${version}";
@ -10,7 +10,7 @@ stdenv.mkDerivation {
owner = "magit"; owner = "magit";
repo = "magit"; repo = "magit";
rev = version; rev = version;
sha256 = "1bq26wrgm4wgif0hj16mkmiz0p1iilxs7dmdd1vq5df8nivmakjz"; sha256 = "1zbx1ky1481lkvfjr4k23q7jdrk9ji9v5ghj88qib36vbmzfwww8";
}; };
buildInputs = [ emacs texinfo git ]; buildInputs = [ emacs texinfo git ];
@ -28,15 +28,10 @@ stdenv.mkDerivation {
cp lisp/magit-version.el . cp lisp/magit-version.el .
''; '';
doCheck = false; # one out of 5 tests fails, not sure why doCheck = false; # 2 out of 15 tests fails, not sure why
checkTarget = "test"; checkTarget = "test";
preCheck = "export EMAIL='Joe Doe <joe.doe@example.org>'"; preCheck = "export EMAIL='Joe Doe <joe.doe@example.org>'";
# postInstall = ''
# mkdir -p $out/bin
# mv "bin/"* $out/bin/
# '';
meta = { meta = {
homepage = "https://github.com/magit/magit"; homepage = "https://github.com/magit/magit";
description = "Magit, an Emacs interface to Git"; description = "Magit, an Emacs interface to Git";