gb-backup: 2021-03-06 -> 2021-04-07
This commit is contained in:
parent
99e8492074
commit
7c609936c5
|
@ -1,24 +1,30 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub, lepton }:
|
{ lib, makeWrapper, buildGoModule, fetchFromGitHub, lepton }:
|
||||||
|
|
||||||
buildGoModule {
|
buildGoModule {
|
||||||
pname = "gb-backup";
|
pname = "gb-backup";
|
||||||
version = "unstable-2021-03-06";
|
version = "unstable-2021-04-07";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "leijurv";
|
owner = "leijurv";
|
||||||
repo = "gb";
|
repo = "gb";
|
||||||
rev = "5a94e60148628fc7796d15c53d0ed87184322053";
|
rev = "904813bf0bbce048af5795618d58c0b1953f9ff8";
|
||||||
sha256 = "07skhwnxvm6yngb2665gkh5qbiyp7hb7av8dkckzypmd4k8z93cm";
|
sha256 = "111jrcv4x38sc19xha5q3pd2297s13qh1maa7sa1k09hgypvgsxf";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "0m2aa6p04b4fs7zncar1mlykc94pp527phv71cdsbx58jgsm1jnx";
|
vendorSha256 = "0m2aa6p04b4fs7zncar1mlykc94pp527phv71cdsbx58jgsm1jnx";
|
||||||
|
|
||||||
buildInputs = [ lepton ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
checkInputs = [ lepton ];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
wrapProgram $out/bin/gb --prefix PATH : ${lib.makeBinPath [ lepton ]}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Gamer Backup, a super opinionated cloud backup system";
|
description = "Gamer Backup, a super opinionated cloud backup system";
|
||||||
license = licenses.agpl3Only;
|
license = licenses.agpl3Only;
|
||||||
maintainers = with maintainers; [ babbaj ];
|
maintainers = with maintainers; [ babbaj ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue