2017-04-03 10:02:47 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
2015-11-13 14:35:48 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-11-16 19:56:14 +01:00
|
|
|
name = "snapraid-${version}";
|
2018-11-08 21:11:50 +01:00
|
|
|
version = "11.3";
|
2015-11-13 14:35:48 +01:00
|
|
|
|
2017-04-03 10:02:47 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "amadvance";
|
|
|
|
repo = "snapraid";
|
|
|
|
rev = "v${version}";
|
2018-11-08 21:11:50 +01:00
|
|
|
sha256 = "08rwz55njkr1w794y3hs8nxc11vzbv4drds9wgxpf6ps8qf9q49f";
|
2015-11-13 14:35:48 +01:00
|
|
|
};
|
|
|
|
|
2018-02-21 13:17:25 +01:00
|
|
|
VERSION = version;
|
|
|
|
|
2016-10-01 14:02:58 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ ];
|
2017-04-03 10:02:47 +02:00
|
|
|
|
2015-11-13 14:35:48 +01: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 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-11-13 14:35:48 +01:00
|
|
|
};
|
|
|
|
}
|