3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/filesystems/snapraid/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
642 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;
};
}