504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
29 lines
690 B
Nix
29 lines
690 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "snapraid";
|
|
version = "12.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "amadvance";
|
|
repo = "snapraid";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-3wy442tv3m1CSOAj1cngTWRiqX934c/7V2YL6j30+3U=";
|
|
};
|
|
|
|
VERSION = version;
|
|
|
|
doCheck = !(stdenv.isDarwin && stdenv.isx86_64);
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ ];
|
|
|
|
meta = {
|
|
homepage = "http://www.snapraid.it/";
|
|
description = "A backup program for disk arrays";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = [ lib.maintainers.makefu ];
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "snapraid";
|
|
};
|
|
}
|