2017-04-03 08:02:47 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
2015-11-13 13:35:48 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-11-16 18:56:14 +00:00
|
|
|
name = "snapraid-${version}";
|
2018-02-21 12:17:25 +00:00
|
|
|
version = "11.2";
|
2015-11-13 13:35:48 +00:00
|
|
|
|
2017-04-03 08:02:47 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "amadvance";
|
|
|
|
repo = "snapraid";
|
|
|
|
rev = "v${version}";
|
2018-02-21 12:17:25 +00:00
|
|
|
sha256 = "01z8fl3x2j5bnm0rybj7hhch18is6dkwqc43yzwc6418spr4imsd";
|
2015-11-13 13:35:48 +00:00
|
|
|
};
|
|
|
|
|
2018-02-21 12:17:25 +00:00
|
|
|
VERSION = version;
|
|
|
|
|
2016-10-01 12:02:58 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ ];
|
2017-04-03 08:02:47 +00:00
|
|
|
|
2015-11-13 13:35:48 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.snapraid.it/;
|
|
|
|
description = "A backup program for disk arrays";
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.makefu ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-11-13 13:35:48 +00:00
|
|
|
};
|
|
|
|
}
|