traefik: add djds as maintainer (#377217)
[NixPkgs.git] / pkgs / by-name / op / openseachest / package.nix
blob94b42f0f2bfe01ec21b86555db468b2504521ef1
2   lib,
3   fetchFromGitHub,
4   stdenv,
5 }:
7 stdenv.mkDerivation rec {
8   pname = "openseachest";
9   version = "24.08.1";
11   src = fetchFromGitHub {
12     owner = "Seagate";
13     repo = "openSeaChest";
14     rev = "v${version}";
15     hash = "sha256-1vfWX6uTQcM6K6wu9Ygu2xZV4nXm6VnwNHmQ2ceh62s=";
16     fetchSubmodules = true;
17   };
19   makeFlags = [ "-C Make/gcc" ];
20   buildFlags = [ "release" ];
22   installPhase = ''
23     runHook preInstall
25     mkdir -p $out/{bin,share}
26     cp -r Make/gcc/openseachest_exes/. $out/bin
27     cp -r docs/man $out/share
29     runHook postInstall
30   '';
32   meta = with lib; {
33     description = "Collection of command line diagnostic tools for storage devices";
34     homepage = "https://github.com/Seagate/openSeaChest";
35     license = licenses.mpl20;
36     maintainers = with maintainers; [ justinas ];
37     platforms = with platforms; freebsd ++ linux;
38   };