diff options
Diffstat (limited to 'pkgs/tools/filesystems/snapraid/default.nix')
-rw-r--r-- | pkgs/tools/filesystems/snapraid/default.nix | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/pkgs/tools/filesystems/snapraid/default.nix b/pkgs/tools/filesystems/snapraid/default.nix deleted file mode 100644 index 83353394e009..000000000000 --- a/pkgs/tools/filesystems/snapraid/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - autoreconfHook, - smartmontools, - makeWrapper, -}: - -stdenv.mkDerivation rec { - pname = "snapraid"; - version = "12.3"; - - src = fetchFromGitHub { - owner = "amadvance"; - repo = "snapraid"; - rev = "v${version}"; - hash = "sha256-pkLooA3JZV/rPlE5+JeJN1QW2xAdNu7c/iFFtT4M4vc="; - }; - - VERSION = version; - - doCheck = !(stdenv.isDarwin && stdenv.isx86_64); - - nativeBuildInputs = [ - autoreconfHook - makeWrapper - ]; - - buildInputs = [ ]; - - # SMART is only supported on Linux and requires the smartmontools package - postInstall = lib.optionalString stdenv.isLinux '' - wrapProgram $out/bin/snapraid \ - --prefix PATH : ${lib.makeBinPath [ smartmontools ]} - ''; - - meta = { - homepage = "http://www.snapraid.it/"; - description = "Backup program for disk arrays"; - license = lib.licenses.gpl3; - maintainers = [ lib.maintainers.makefu ]; - platforms = lib.platforms.unix; - mainProgram = "snapraid"; - }; -} |