From fdf6a69b3aac2bea921a484889e297c13a57680e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 13 Mar 2008 10:02:57 +0000 Subject: [PATCH] Add CVSps, needed for instance by `git-cvsimport'. svn path=/nixpkgs/trunk/; revision=11094 --- .../version-management/cvsps/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/applications/version-management/cvsps/default.nix diff --git a/pkgs/applications/version-management/cvsps/default.nix b/pkgs/applications/version-management/cvsps/default.nix new file mode 100644 index 00000000000..52ea9e9feea --- /dev/null +++ b/pkgs/applications/version-management/cvsps/default.nix @@ -0,0 +1,23 @@ +{ fetchurl, stdenv, cvs, zlib }: + +stdenv.mkDerivation rec { + name = "cvsps-2.1"; + src = fetchurl { + url = "http://www.cobite.com/cvsps/${name}.tar.gz"; + sha256 = "0nh7q7zcmagx0i63h6fqqkkq9i55k77myvb8h6jn2f266f5iklwi"; + }; + + buildInputs = [ cvs zlib ]; + + installPhase = "make install prefix=$out"; + + meta = { + description = ''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"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d0f4ab5c5ed..a455daba25c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4768,6 +4768,10 @@ rec { inherit fetchurl stdenv nano; }; + cvsps = import ../applications/version-management/cvsps { + inherit fetchurl stdenv cvs zlib; + }; + cvs2svn = import ../applications/version-management/cvs2svn { inherit fetchurl stdenv python makeWrapper; };