2008-04-06 22:43:39 +02:00
|
|
|
{ stdenv, fetchurl, nano }:
|
2005-10-13 14:32:16 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "cvs-1.12.13";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2007-08-24 14:32:36 +02:00
|
|
|
url = http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cvs-1.12.13.tar.bz2;
|
2008-04-06 22:43:39 +02:00
|
|
|
sha256 = "0pjir8cwn0087mxszzbsi1gyfc6373vif96cw4q3m1x6p49kd1bq";
|
2005-10-13 14:32:16 +02:00
|
|
|
};
|
2008-04-06 22:43:39 +02:00
|
|
|
|
2010-01-20 12:08:50 +01:00
|
|
|
patches = [ ./getcwd-chroot.patch ];
|
|
|
|
|
|
|
|
preConfigure =
|
|
|
|
# Apply the Debian patches.
|
|
|
|
'' for p in "debian/patches/"*
|
|
|
|
do
|
|
|
|
echo "applying \`$p'..."
|
|
|
|
patch --verbose -p1 < "$p"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2008-04-06 22:43:39 +02:00
|
|
|
buildInputs = [ nano ];
|
2005-10-13 14:32:16 +02:00
|
|
|
}
|