2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2015-11-13 13:35:48 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "snapraid";
|
2022-01-25 20:28:29 +00:00
|
|
|
version = "12.1";
|
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}";
|
2022-01-25 20:28:29 +00:00
|
|
|
sha256 = "sha256-DaFL5YxKdL7swfiWAHNufkeQ7mNd/MdZ6E0yAtC58lc=";
|
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 = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.snapraid.it/";
|
2015-11-13 13:35:48 +00:00
|
|
|
description = "A backup program for disk arrays";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = [ lib.maintainers.makefu ];
|
|
|
|
platforms = lib.platforms.unix;
|
2015-11-13 13:35:48 +00:00
|
|
|
};
|
|
|
|
}
|