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
768 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";
2023-02-18 17:39:01 +00:00
version = "0.4.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}";
2023-02-18 17:39:01 +00:00
sha256 = "sha256-9JRw+UoxU0I5RHuimzYrM/3j8UWHuicVpoOdRRrj2Wc=";
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 = "A set of command-line tools to ease the administration of Serial Attached SCSI (SAS) fabrics";
license = licenses.asl20;
maintainers = with maintainers; [ aij ];
};
}