2016-12-30 19:05:13 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch, cvs, zlib }:
|
2008-03-13 10:02:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-12-30 18:54:42 +00:00
|
|
|
name = "cvsps-${version}";
|
|
|
|
version = "2.1";
|
2016-12-30 19:05:13 +00:00
|
|
|
|
2008-03-13 10:02:57 +00:00
|
|
|
src = fetchurl {
|
2016-12-30 18:54:42 +00:00
|
|
|
url = "mirror://debian/pool/main/c/cvsps/cvsps_${version}.orig.tar.gz";
|
2008-03-13 10:02:57 +00:00
|
|
|
sha256 = "0nh7q7zcmagx0i63h6fqqkkq9i55k77myvb8h6jn2f266f5iklwi";
|
|
|
|
};
|
|
|
|
|
2016-12-30 19:05:13 +00:00
|
|
|
# Patches from https://sources.debian.net/src/cvsps/2.1-7/debian/patches
|
|
|
|
patches =
|
|
|
|
[ (fetchpatch {
|
|
|
|
url = "https://sources.debian.net/data/main/c/cvsps/2.1-7/debian/patches/01_ignoretrunk.patch";
|
|
|
|
sha256 = "1gzb97dw2a6bm0bmim7p7wvsn0r82y3a8n22ln6rbbkkd8vlnzcb";
|
|
|
|
})
|
|
|
|
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://sources.debian.net/data/main/c/cvsps/2.1-7/debian/patches/02_dynamicbufferalloc.patch";
|
|
|
|
sha256 = "0dm7azxnw0g9pdqkb3y4y2h047zgrclbh40av6c868wfp2j6l9sc";
|
|
|
|
})
|
|
|
|
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://sources.debian.net/data/main/c/cvsps/2.1-7/debian/patches/03_diffoptstypo.patch";
|
|
|
|
sha256 = "06n8652g7inpv8cgqir7ijq00qw1fr0v44m2pbmgx7ilmna2vrcw";
|
|
|
|
})
|
|
|
|
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://sources.debian.net/data/main/c/cvsps/2.1-7/debian/patches/05-inet_addr_fix.patch";
|
|
|
|
sha256 = "10w6px96dz8bb69asjzshvp787ccazmqnjsggqc4gwdal95q3cn7";
|
|
|
|
})
|
|
|
|
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://sources.debian.net/data/main/c/cvsps/2.1-7/debian/patches/fix-makefile";
|
|
|
|
sha256 = "0m92b55hgldwg6lwdaybbj0n3lw1b3wj2xkk1cz1ywq073bpf3jm";
|
|
|
|
})
|
|
|
|
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://sources.debian.net/data/main/c/cvsps/2.1-7/debian/patches/fix-manpage";
|
|
|
|
sha256 = "0gky14rhx82wv0gj8bkc74ki5xilhv5i3k1jc7khklr4lb6mmhpx";
|
|
|
|
})
|
|
|
|
];
|
2008-04-06 21:04:40 +01:00
|
|
|
|
2008-03-13 10:02:57 +00:00
|
|
|
buildInputs = [ cvs zlib ];
|
|
|
|
|
|
|
|
installPhase = "make install prefix=$out";
|
|
|
|
|
|
|
|
meta = {
|
2016-12-30 18:54:42 +00:00
|
|
|
description = ''A tool to generate CVS patch set information'';
|
2009-03-03 13:27:40 +00:00
|
|
|
longDescription = ''
|
|
|
|
CVSps is a program for generating `patchset' information from a
|
|
|
|
CVS repository. A patchset in this case is defined as a set of
|
|
|
|
changes made to a collection of files, and all committed at the
|
|
|
|
same time (using a single "cvs commit" command).
|
|
|
|
'';
|
2008-03-13 10:02:57 +00:00
|
|
|
homepage = http://www.cobite.com/cvsps/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2016-12-30 18:54:42 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2008-03-13 10:02:57 +00:00
|
|
|
};
|
|
|
|
}
|