Merge pull request #142151 from justinas/openseachest

This commit is contained in:
Sandro 2021-11-16 16:20:21 +01:00 committed by GitHub
commit 5e39986fe2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, fetchFromGitHub
, stdenv
}:
stdenv.mkDerivation rec {
pname = "openseachest";
version = "21.06.21";
src = fetchFromGitHub {
owner = "Seagate";
repo = "openSeaChest";
rev = "v${version}";
sha256 = "09xay3frk0yh48ww650dsjp0rx0w1m3ab3rpz5k1jizppv4kk9fi";
fetchSubmodules = true;
};
makeFlags = [ "-C Make/gcc" ];
buildFlags = [ "release" ];
installPhase = ''
runHook preInstall
mkdir -p $out/{bin,share}
cp -r Make/gcc/openseachest_exes/. $out/bin
cp -r docs/man $out/share
runHook postInstall
'';
meta = with lib; {
description = "A collection of command line diagnostic tools for storage devices";
homepage = "https://github.com/Seagate/openSeaChest";
license = licenses.mpl20;
maintainers = with maintainers; [ justinas ];
platforms = with platforms; freebsd ++ linux;
};
}

View file

@ -8203,6 +8203,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Carbon PCSC;
};
openseachest = callPackage ../tools/system/openseachest { };
opensm = callPackage ../tools/networking/opensm { };
tinyssh = callPackage ../tools/networking/tinyssh { };