mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
magit: fix download url
This commit is contained in:
parent
4311ba66e0
commit
40502b492d
@ -1,18 +1,17 @@
|
|||||||
{ stdenv, fetchurl, emacs, texinfo, unzip }:
|
{ stdenv, fetchurl, emacs, texinfo }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.2.0";
|
version = "1.2.0";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "magit-${version}";
|
name = "magit-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/magit/magit/zipball/${version}";
|
url = "https://github.com/downloads/magit/magit/${name}.tar.gz";
|
||||||
sha256 = "1877s8ikvcb457mmljmw366h6pgg4zzx98qfazhqj8snl4yqsj4i";
|
sha256 = "1a8vvilhd5y5vmlpsh194qpl4qlg0a1brylfscxcacpfp0cmhlzg";
|
||||||
name = "magit-${version}.zip";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ emacs texinfo unzip ];
|
buildInputs = [ emacs texinfo ];
|
||||||
|
|
||||||
configurePhase = "makeFlagsArray=( PREFIX=$out SYSCONFDIR=$out/etc )";
|
configurePhase = "makeFlagsArray=( PREFIX=$out SYSCONFDIR=$out/etc )";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user