mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 11:14:02 -06:00
Upload New File
This commit is contained in:
parent
54c8bafaa1
commit
7b5bd59eb0
1 changed files with 27 additions and 0 deletions
27
software/backrest/package.nix
Normal file
27
software/backrest/package.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ pkgs, lib }:
|
||||
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
pname = "backrest";
|
||||
version = "v0.11.0";
|
||||
|
||||
src = builtins.fetchurl {
|
||||
url = "https://github.com/garethgeorge/backrest/releases/download/v0.11.0/backrest_Linux_x86_64.tar.gz";
|
||||
sha256 = "fd6c05339b6855f0acad001c2243d871f4621def04cef9eb3b452110fe175d49";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
tar -xf backrest_Darwin_x86_64.tar.gz
|
||||
install -D $src $out/backrest
|
||||
chmod a+x $out/backrest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/garethgeorge/backrest";
|
||||
description = "Backrest is a web UI and orchestrator for restic backup.";
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue