From 1839c17eb5c25907c156375d2aec7ea21c47242d Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 30 Oct 2021 04:20:00 +0000 Subject: [PATCH] ytcc: install manpage --- pkgs/tools/networking/ytcc/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/ytcc/default.nix b/pkgs/tools/networking/ytcc/default.nix index 729d75bdb9fd..a3e9195f8a69 100644 --- a/pkgs/tools/networking/ytcc/default.nix +++ b/pkgs/tools/networking/ytcc/default.nix @@ -1,4 +1,4 @@ -{ lib, python3Packages, fetchFromGitHub, gettext }: +{ lib, python3Packages, fetchFromGitHub, gettext, installShellFiles }: python3Packages.buildPythonApplication rec { pname = "ytcc"; @@ -11,7 +11,7 @@ python3Packages.buildPythonApplication rec { sha256 = "0xpinilb8rnha35laxq076p6v7hdis6davr9ckm5xycs3m4aj7s8"; }; - nativeBuildInputs = [ gettext ]; + nativeBuildInputs = [ gettext installShellFiles ]; propagatedBuildInputs = with python3Packages; [ click @@ -38,6 +38,10 @@ python3Packages.buildPythonApplication rec { "test_download" ]; + postInstall = '' + installManPage doc/ytcc.1 + ''; + meta = { description = "Command Line tool to keep track of your favourite YouTube channels without signing up for a Google account"; homepage = "https://github.com/woefe/ytcc";