zbackup: switch to fetchFromGitHub
This commit is contained in:
parent
797843e42b
commit
004822554c
|
@ -1,13 +1,18 @@
|
|||
{ lib, stdenv, fetchurl, cmake, zlib, openssl, protobuf, protobufc, lzo, libunwind } :
|
||||
stdenv.mkDerivation {
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, zlib, openssl, protobuf, protobufc, lzo, libunwind }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zbackup";
|
||||
version = "1.4.4";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/zbackup/zbackup/archive/1.4.4.tar.gz";
|
||||
sha256 = "11csla7n44lg7x6yqg9frb21vnkr8cvnh6ardibr3nj5l39crk7g";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zbackup";
|
||||
repo = "zbackup";
|
||||
rev = version;
|
||||
hash = "sha256-9Fk4EhEeQ2J4Kirc7oad4CzmW70Mmza6uozd87qfgZI=";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib openssl protobuf lzo libunwind ];
|
||||
nativeBuildInputs = [ cmake protobufc ];
|
||||
|
||||
meta = {
|
||||
description = "A versatile deduplicating backup tool";
|
||||
homepage = "http://zbackup.org/";
|
||||
|
|
Loading…
Reference in a new issue