29 lines
644 B
Nix
29 lines
644 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "snapraid";
|
|
version = "11.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "amadvance";
|
|
repo = "snapraid";
|
|
rev = "v${version}";
|
|
sha256 = "1mhinc9wny4a1xdrbksdl58kfrsh1cxp79zcgsl99gnyw47r22jy";
|
|
};
|
|
|
|
VERSION = version;
|
|
|
|
doCheck = true;
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ ];
|
|
|
|
meta = {
|
|
homepage = "http://www.snapraid.it/";
|
|
description = "A backup program for disk arrays";
|
|
license = stdenv.lib.licenses.gpl3;
|
|
maintainers = [ stdenv.lib.maintainers.makefu ];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|