Browse Source

cvs-fast-export: init at 1.32

nixos-19.03
Daniel Fox Franke 7 years ago
parent
commit
2194295fff
  1. 47
      pkgs/applications/version-management/cvs-fast-export/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

47
pkgs/applications/version-management/cvs-fast-export/default.nix

@ -0,0 +1,47 @@
{stdenv, fetchurl, makeWrapper, flex, bison,
asciidoc, docbook_xml_dtd_45, docbook_xml_xslt,
libxml2, libxslt,
python27, rcs, cvs, git,
coreutils, rsync}:
with stdenv; with lib;
mkDerivation rec {
name = "cvs-fast-export-${meta.version}";
meta = {
version = "1.32";
description = "Export an RCS or CVS history as a fast-import stream";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ dfoxfranke ];
homepage = "http://www.catb.org/esr/cvs-fast-export/";
platforms = platforms.all;
};
src = fetchurl {
url = "http://www.catb.org/~esr/cvs-fast-export/cvs-fast-export-1.32.tar.gz";
sha256 = "5bfb9a5650517d337a96a598795b50bc40ce12172854a6581267e7be3dbcfb97";
};
buildInputs = [
flex bison asciidoc docbook_xml_dtd_45 docbook_xml_xslt libxml2 libxslt
python27 rcs cvs git makeWrapper
];
preBuild = ''
makeFlagsArray=(
XML_CATALOG_FILES="${docbook_xml_dtd_45}/xml/dtd/docbook/catalog.xml ${docbook_xml_xslt}/xml/xsl/docbook/catalog.xml"
prefix="$out"
)
'';
doCheck = true;
postInstall =
let
binpath = makeSearchPath "bin" [ out rcs cvs git coreutils rsync ];
in ''
for prog in cvs-fast-export cvsconvert cvssync; do
wrapProgram $out/bin/$prog \
--prefix PATH : ${binpath}
done
''
;
}

2
pkgs/top-level/all-packages.nix

@ -1242,6 +1242,8 @@ let
cutter = callPackage ../tools/networking/cutter { };
cvs_fast_export = callPackage ../applications/version-management/cvs-fast-export { };
dadadodo = callPackage ../tools/text/dadadodo { };
daemonize = callPackage ../tools/system/daemonize { };

Loading…
Cancel
Save