cvs2svn: add man pages

This commit is contained in:
Stanisław Pitucha 2022-05-03 20:39:36 +10:00
parent d33eace057
commit e63b0f634e

View file

@ -1,6 +1,7 @@
{ lib, fetchurl, makeWrapper
, pypy2Packages
, cvs, subversion, git, breezy
, installShellFiles
}:
pypy2Packages.buildPythonApplication rec {
@ -12,7 +13,7 @@ pypy2Packages.buildPythonApplication rec {
sha256 = "1ska0z15sjhyfi860rjazz9ya1gxbf5c0h8dfqwz88h7fccd22b4";
};
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper installShellFiles ];
checkInputs = [ subversion git breezy ];
@ -24,6 +25,8 @@ pypy2Packages.buildPythonApplication rec {
for i in bzr svn git; do
wrapProgram $out/bin/cvs2$i \
--prefix PATH : "${lib.makeBinPath [ cvs ]}"
$out/bin/cvs2$i --man > csv2$i.1
installManPage csv2$i.1
done
'';