1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

gitolite: v3.6.2 -> v3.6.3

This commit is contained in:
lassulus 2015-05-07 23:26:06 +02:00
parent 8d7991b852
commit 23b97e4066

View file

@ -1,15 +1,15 @@
{ stdenv, fetchurl, perl, git }:
{ stdenv, fetchurl, git, nettools, perl }:
stdenv.mkDerivation rec {
name = "gitolite-${version}";
version = "3.6.2";
version = "3.6.3";
src = fetchurl {
url = "https://github.com/sitaramc/gitolite/archive/v${version}.tar.gz";
sha256 = "1gsgzi9ayb4rablki3mqr11b0h8db4xg43df660marfpacmkfb01";
sha256 = "16cxifjxnri719qb6zzwkdf61x5y957acbdhcgqcan23x1mfn84v";
};
buildInputs = [ perl git ];
buildInputs = [ git nettools perl ];
buildPhase = "true";
patchPhase = ''
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
--replace /usr/bin/perl "${perl}/bin/perl"
substituteInPlace src/lib/Gitolite/Hooks/Update.pm \
--replace /usr/bin/perl "${perl}/bin/perl"
substituteInPlace src/lib/Gitolite/Setup.pm \
--replace hostname "${nettools}/bin/hostname"
'';
installPhase = ''
@ -30,6 +32,6 @@ stdenv.mkDerivation rec {
homepage = http://gitolite.com/gitolite/index.html;
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = [ maintainers.thoughtpolice ];
maintainers = [ maintainers.thoughtpolice maintainers.lassulus ];
};
}