about summary refs log tree commit diff
path: root/pkgs/applications/version-management/cvsps/default.nix
blob: 9bc4401e06812d30e325321ed347c4429f50c58e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ fetchurl, stdenv, cvs, zlib }:

stdenv.mkDerivation rec {
  name = "cvsps-2.1";
  src = fetchurl {
    url = "http://www.cobite.com/cvsps/${name}.tar.gz";
    sha256 = "0nh7q7zcmagx0i63h6fqqkkq9i55k77myvb8h6jn2f266f5iklwi";
  };

  # Patches from Debian's `cvsps-2.1-4'.
  patches = [ ./01_ignoretrunk.dpatch
              ./02_dynamicbufferalloc.dpatch
	      ./03_diffoptstypo.dpatch ];

  buildInputs = [ cvs zlib ];

  installPhase = "make install prefix=$out";

  meta = {
    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).
    '';
    homepage = http://www.cobite.com/cvsps/;
    license = stdenv.lib.licenses.gpl2;
  };
}