nixpkgs/pkgs/applications/version-management/cvsps/default.nix

30 lines
853 B
Nix
Raw Normal View History

{ 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 = "GPLv2";
};
}