nixpkgs-suyu/pkgs/os-specific/linux/sasutils/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
760 B
Nix
Raw Normal View History

2022-04-30 15:48:24 +02:00
{ lib, python3Packages, fetchFromGitHub, installShellFiles, sg3_utils }:
2022-02-09 13:41:24 +01:00
python3Packages.buildPythonApplication rec {
pname = "sasutils";
version = "0.3.12";
src = fetchFromGitHub {
owner = "stanford-rc";
repo = pname;
rev = "v${version}";
sha256 = "0kh5pcc2shdmrvqqi2y1zamzsfvk56pqgwqgqhjfz4r6yfpm04wl";
};
2022-04-30 15:48:24 +02:00
nativeBuildInputs = [ installShellFiles ];
2022-02-09 13:41:24 +01:00
propagatedBuildInputs = [ sg3_utils ];
2022-04-30 15:48:24 +02:00
postInstall = ''
installManPage doc/man/man1/*.1
'';
2022-02-09 13:41:24 +01:00
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";
license = licenses.asl20;
maintainers = with maintainers; [ aij ];
};
}