From e63b0f634e9f38fe3290660fb37fb6833ed5cf9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Tue, 3 May 2022 20:39:36 +1000 Subject: [PATCH 1/2] cvs2svn: add man pages --- pkgs/applications/version-management/cvs2svn/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/cvs2svn/default.nix b/pkgs/applications/version-management/cvs2svn/default.nix index 9f1df695a174..80225630c0a6 100644 --- a/pkgs/applications/version-management/cvs2svn/default.nix +++ b/pkgs/applications/version-management/cvs2svn/default.nix @@ -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 ''; From 578441d11bb6edd4299ff3a723e31e17250fa477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Tue, 3 May 2022 20:41:46 +1000 Subject: [PATCH 2/2] cvs2svn: add self to maintainers --- pkgs/applications/version-management/cvs2svn/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/cvs2svn/default.nix b/pkgs/applications/version-management/cvs2svn/default.nix index 80225630c0a6..a5903b7266e4 100644 --- a/pkgs/applications/version-management/cvs2svn/default.nix +++ b/pkgs/applications/version-management/cvs2svn/default.nix @@ -33,7 +33,7 @@ pypy2Packages.buildPythonApplication rec { meta = with lib; { description = "A tool to convert CVS repositories to Subversion repositories"; homepage = "https://github.com/mhagger/cvs2svn"; - maintainers = [ maintainers.makefu ]; + maintainers = with maintainers; [ makefu viraptor ]; platforms = platforms.unix; license = licenses.asl20; };