1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/version-management/git-and-tools/git2cl/default.nix
Rob Vermaas 9e5ab46737 added git2cl script
svn path=/nixpkgs/trunk/; revision=21590
2010-05-04 10:06:50 +00:00

20 lines
423 B
Nix

{ 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
'';
}