at 23.05-pre 28 lines 760 B view raw
1{ lib, python3Packages, fetchFromGitHub, installShellFiles, sg3_utils }: 2 3python3Packages.buildPythonApplication rec { 4 pname = "sasutils"; 5 version = "0.3.12"; 6 7 src = fetchFromGitHub { 8 owner = "stanford-rc"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "0kh5pcc2shdmrvqqi2y1zamzsfvk56pqgwqgqhjfz4r6yfpm04wl"; 12 }; 13 14 nativeBuildInputs = [ installShellFiles ]; 15 16 propagatedBuildInputs = [ sg3_utils ]; 17 18 postInstall = '' 19 installManPage doc/man/man1/*.1 20 ''; 21 22 meta = with lib; { 23 homepage = "https://github.com/stanford-rc/sasutils"; 24 description = "A set of command-line tools to ease the administration of Serial Attached SCSI (SAS) fabrics"; 25 license = licenses.asl20; 26 maintainers = with maintainers; [ aij ]; 27 }; 28}