From d1e739139b663e13ddcae195b11f73e2fbd719c8 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Sat, 30 Apr 2022 15:48:24 +0200 Subject: [PATCH] sasutils: add man pages --- pkgs/os-specific/linux/sasutils/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/sasutils/default.nix b/pkgs/os-specific/linux/sasutils/default.nix index 4298e003a00f..fd1a6f0b049b 100644 --- a/pkgs/os-specific/linux/sasutils/default.nix +++ b/pkgs/os-specific/linux/sasutils/default.nix @@ -1,4 +1,4 @@ -{ lib, python3Packages, fetchFromGitHub, sg3_utils }: +{ lib, python3Packages, fetchFromGitHub, installShellFiles, sg3_utils }: python3Packages.buildPythonApplication rec { pname = "sasutils"; @@ -11,8 +11,14 @@ python3Packages.buildPythonApplication rec { sha256 = "0kh5pcc2shdmrvqqi2y1zamzsfvk56pqgwqgqhjfz4r6yfpm04wl"; }; + nativeBuildInputs = [ installShellFiles ]; + propagatedBuildInputs = [ sg3_utils ]; + postInstall = '' + installManPage doc/man/man1/*.1 + ''; + meta = with lib; { homepage = "https://github.com/stanford-rc/sasutils"; description = "A set of command-line tools to ease the administration of Serial Attached SCSI (SAS) fabrics";