lol
1{
2 lib,
3 python3Packages,
4 fetchFromGitHub,
5 installShellFiles,
6 sg3_utils,
7}:
8
9python3Packages.buildPythonApplication rec {
10 pname = "sasutils";
11 version = "0.6.1";
12 format = "setuptools";
13
14 src = fetchFromGitHub {
15 owner = "stanford-rc";
16 repo = "sasutils";
17 tag = "v${version}";
18 sha256 = "sha256-rx4IxS5q1c3z617F4DBWxuxxSPHKFrw2bTW6b6/qkds=";
19 };
20
21 nativeBuildInputs = [ installShellFiles ];
22
23 propagatedBuildInputs = [ sg3_utils ];
24
25 postInstall = ''
26 installManPage doc/man/man1/*.1
27 '';
28
29 meta = with lib; {
30 homepage = "https://github.com/stanford-rc/sasutils";
31 description = "Set of command-line tools to ease the administration of Serial Attached SCSI (SAS) fabrics";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ aij ];
34 };
35}