at 23.11-beta 28 lines 768 B view raw
1{ lib, python3Packages, fetchFromGitHub, installShellFiles, sg3_utils }: 2 3python3Packages.buildPythonApplication rec { 4 pname = "sasutils"; 5 version = "0.4.0"; 6 7 src = fetchFromGitHub { 8 owner = "stanford-rc"; 9 repo = pname; 10 rev = "refs/tags/v${version}"; 11 sha256 = "sha256-9JRw+UoxU0I5RHuimzYrM/3j8UWHuicVpoOdRRrj2Wc="; 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}