6 stdenv.mkDerivation rec {
7 pname = "openseachest";
10 src = fetchFromGitHub {
12 repo = "openSeaChest";
14 hash = "sha256-1vfWX6uTQcM6K6wu9Ygu2xZV4nXm6VnwNHmQ2ceh62s=";
15 fetchSubmodules = true;
18 makeFlags = [ "-C Make/gcc" ];
19 buildFlags = [ "release" ];
24 mkdir -p $out/{bin,share}
25 cp -r Make/gcc/openseachest_exes/. $out/bin
26 cp -r docs/man $out/share
32 description = "Collection of command line diagnostic tools for storage devices";
33 homepage = "https://github.com/Seagate/openSeaChest";
34 license = licenses.mpl20;
35 maintainers = with maintainers; [ justinas ];
36 platforms = with platforms; freebsd ++ linux;