Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 28 lines 766 B view raw
1{ lib, python3Packages, fetchFromGitHub, installShellFiles, sg3_utils }: 2 3python3Packages.buildPythonApplication rec { 4 pname = "sasutils"; 5 version = "0.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "stanford-rc"; 9 repo = pname; 10 rev = "refs/tags/v${version}"; 11 sha256 = "sha256-DK0mEqlPf9UGtUxqbzB0l1xX0P4htYm2NYvV7zilhx0="; 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 = "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}