added git2cl script

svn path=/nixpkgs/trunk/; revision=21590
This commit is contained in:
Rob Vermaas 2010-05-04 10:06:50 +00:00
parent 049c896998
commit 9e5ab46737
2 changed files with 22 additions and 0 deletions

View File

@ -104,4 +104,7 @@ rec {
subversion;
};
git2cl = import ./git2cl {
inherit fetchgit stdenv perl;
};
}

View File

@ -0,0 +1,19 @@
{ fetchgit
, stdenv
, perl
}:
stdenv.mkDerivation rec {
name = "git2cl";
src = fetchgit {
url = git://git.sv.gnu.org/git2cl.git;
rev = "8373c9f74993e218a08819cbcdbab3f3564bbeba";
sha256 = "b0d39379640c8a12821442431e2121f7908ce1cc88ec8ec6bede218ea8c21f2f";
};
buildCommand = ''
ensureDir $out/bin
cp ${src}/git2cl $out/bin
sed -i 's|/usr/bin/perl|${perl}/bin/perl|' $out/bin/git2cl
'';
}