nixpkgs/pkgs/tools/filesystems/snapraid/default.nix

29 lines
652 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook }:
2015-11-13 14:35:48 +01:00
stdenv.mkDerivation rec {
name = "snapraid-${version}";
2018-02-21 13:17:25 +01:00
version = "11.2";
2015-11-13 14:35:48 +01:00
src = fetchFromGitHub {
owner = "amadvance";
repo = "snapraid";
rev = "v${version}";
2018-02-21 13:17:25 +01:00
sha256 = "01z8fl3x2j5bnm0rybj7hhch18is6dkwqc43yzwc6418spr4imsd";
2015-11-13 14:35:48 +01:00
};
2018-02-21 13:17:25 +01:00
VERSION = version;
doCheck = true;
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ];
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 ];
platforms = stdenv.lib.platforms.unix;
2015-11-13 14:35:48 +01:00
};
}