nixpkgs/pkgs/by-name/sa/sasutils/package.nix
2024-11-26 21:00:05 +00:00

29 lines
766 B
Nix

{ lib, python3Packages, fetchFromGitHub, installShellFiles, sg3_utils }:
python3Packages.buildPythonApplication rec {
pname = "sasutils";
version = "0.6.1";
src = fetchFromGitHub {
owner = "stanford-rc";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-rx4IxS5q1c3z617F4DBWxuxxSPHKFrw2bTW6b6/qkds=";
};
nativeBuildInputs = [ installShellFiles ];
propagatedBuildInputs = [ sg3_utils ];
postInstall = ''
installManPage doc/man/man1/*.1
'';
meta = with lib; {
homepage = "https://github.com/stanford-rc/sasutils";
description = "Set of command-line tools to ease the administration of Serial Attached SCSI (SAS) fabrics";
license = licenses.asl20;
maintainers = with maintainers; [ aij ];
};
}