2017-04-03 09:02:47 +01: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}";
|
2017-04-03 09:02:47 +01:00
|
|
|
version = "11.1";
|
2015-11-13 13:35:48 +00:00
|
|
|
|
2017-04-03 09:02:47 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "amadvance";
|
|
|
|
repo = "snapraid";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "13v0gz22ng09gs87f7900z2sk2hg5543njl32rfn4cxxp0jncs3r";
|
2015-11-13 13:35:48 +00:00
|
|
|
};
|
|
|
|
|
2016-10-01 13:02:58 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
2017-04-03 09:02:47 +01:00
|
|
|
buildInputs = [ autoreconfHook ];
|
|
|
|
|
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 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-11-13 13:35:48 +00:00
|
|
|
};
|
|
|
|
}
|