nixpkgs/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
766 B
Nix
Raw Normal View History

2022-04-30 13:48:24 +00:00
{ lib, python3Packages, fetchFromGitHub, installShellFiles, sg3_utils }:
2022-02-09 12:41:24 +00:00
python3Packages.buildPythonApplication rec {
pname = "sasutils";
2024-01-12 08:13:07 +00:00
version = "0.5.0";
2022-02-09 12:41:24 +00:00
src = fetchFromGitHub {
owner = "stanford-rc";
repo = pname;
2022-11-17 01:47:21 +00:00
rev = "refs/tags/v${version}";
2024-01-12 08:13:07 +00:00
sha256 = "sha256-DK0mEqlPf9UGtUxqbzB0l1xX0P4htYm2NYvV7zilhx0=";
2022-02-09 12:41:24 +00:00
};
2022-04-30 13:48:24 +00:00
nativeBuildInputs = [ installShellFiles ];
2022-02-09 12:41:24 +00:00
propagatedBuildInputs = [ sg3_utils ];
2022-04-30 13:48:24 +00:00
postInstall = ''
installManPage doc/man/man1/*.1
'';
2022-02-09 12:41:24 +00:00
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 ];
};
}