mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
added git2cl script
svn path=/nixpkgs/trunk/; revision=21590
This commit is contained in:
parent
049c896998
commit
9e5ab46737
@ -104,4 +104,7 @@ rec {
|
||||
subversion;
|
||||
};
|
||||
|
||||
git2cl = import ./git2cl {
|
||||
inherit fetchgit stdenv perl;
|
||||
};
|
||||
}
|
||||
|
@ -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
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user