mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
29 lines
690 B
Nix
29 lines
690 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "snapraid";
|
|
version = "12.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "amadvance";
|
|
repo = "snapraid";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-pkLooA3JZV/rPlE5+JeJN1QW2xAdNu7c/iFFtT4M4vc=";
|
|
};
|
|
|
|
VERSION = version;
|
|
|
|
doCheck = !(stdenv.isDarwin && stdenv.isx86_64);
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ ];
|
|
|
|
meta = {
|
|
homepage = "http://www.snapraid.it/";
|
|
description = "A backup program for disk arrays";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = [ lib.maintainers.makefu ];
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "snapraid";
|
|
};
|
|
}
|