29 lines
644 B
Nix
29 lines
644 B
Nix
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "snapraid";
|
||
|
version = "11.3";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "amadvance";
|
||
|
repo = "snapraid";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "08rwz55njkr1w794y3hs8nxc11vzbv4drds9wgxpf6ps8qf9q49f";
|
||
|
};
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
}
|