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 {
|
2013-07-14 04:23:06 +02:00
|
|
|
url = mirror://savannah/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 ];
|
|
|
|
|
2010-11-05 15:35:22 +01:00
|
|
|
preConfigure = ''
|
|
|
|
# Fix location of info and man directories.
|
|
|
|
configureFlags="--infodir=$out/share/info --mandir=$out/share/man"
|
|
|
|
|
2010-01-20 12:08:50 +01:00
|
|
|
# Apply the Debian patches.
|
2010-11-05 15:35:22 +01:00
|
|
|
for p in "debian/patches/"*; do
|
|
|
|
echo "applying \`$p' ..."
|
|
|
|
patch --verbose -p1 < "$p"
|
|
|
|
done
|
|
|
|
'';
|
2010-01-20 12:08:50 +01:00
|
|
|
|
2008-04-06 22:43:39 +02:00
|
|
|
buildInputs = [ nano ];
|
2010-10-07 15:14:17 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://cvs.nongnu.org";
|
|
|
|
description = "Concurrent Versions System - a source control system";
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2010-11-05 15:35:22 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
2010-10-07 15:14:17 +02:00
|
|
|
};
|
2005-10-13 14:32:16 +02:00
|
|
|
}
|