gitolite: 3.6.3 -> 3.6.7

This commit is contained in:
Tom Bereknyei 2018-01-27 15:14:09 -05:00
parent 355a6ca189
commit a43f0dd137

View File

@ -1,12 +1,14 @@
{ stdenv, fetchurl, git, nettools, perl }: { stdenv, fetchFromGitHub, git, nettools, perl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "gitolite-${version}"; name = "gitolite-${version}";
version = "3.6.3"; version = "3.6.7";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/sitaramc/gitolite/archive/v${version}.tar.gz"; owner = "sitaramc";
sha256 = "16cxifjxnri719qb6zzwkdf61x5y957acbdhcgqcan23x1mfn84v"; repo = "gitolite";
rev = "9123ae44b14b9df423a7bf1e693e05865ca320ac";
sha256 = "0rmyzr66lxh2ildf3h1nh3hh2ndwk21rjdin50r5vhwbdd7jg8vb";
}; };
buildInputs = [ git nettools perl ]; buildInputs = [ git nettools perl ];
@ -26,6 +28,7 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
perl ./install -to $out/bin perl ./install -to $out/bin
echo ${version} > $out/bin/VERSION
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
@ -33,6 +36,6 @@ stdenv.mkDerivation rec {
homepage = http://gitolite.com/gitolite/index.html; homepage = http://gitolite.com/gitolite/index.html;
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = [ maintainers.thoughtpolice maintainers.lassulus ]; maintainers = [ maintainers.thoughtpolice maintainers.lassulus maintainers.tomberek ];
}; };
} }