forked from mirrors/nixpkgs
bupstash: init at 0.6.4
This commit is contained in:
parent
6e57c2b876
commit
0380ee437b
33
pkgs/tools/backup/bupstash/default.nix
Normal file
33
pkgs/tools/backup/bupstash/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ stdenv, fetchFromGitHub, installShellFiles, rustPlatform, ronn, pkg-config, libsodium }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "bupstash";
|
||||
version = "0.6.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "andrewchambers";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "013k8pr4865f5rp66fjf3a8069kmd29brxv0l20z571gy2kxs5p9";
|
||||
};
|
||||
|
||||
cargoSha256 = "17cdi93q71wsqqfkpz6mxcaqqhqclsbns0g1r9mni39nikw7amv1";
|
||||
|
||||
nativeBuildInputs = [ ronn pkg-config installShellFiles ];
|
||||
buildInputs = [ libsodium ];
|
||||
|
||||
postBuild = ''
|
||||
RUBYOPT="-KU -E utf-8:utf-8" ronn doc/man/*.md
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installManPage doc/man/*.[1-9]
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Easy and efficient encrypted backups";
|
||||
homepage = "https://bupstash.io";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ andrewchambers ];
|
||||
};
|
||||
}
|
|
@ -2874,6 +2874,8 @@ in
|
|||
|
||||
bup = callPackage ../tools/backup/bup { };
|
||||
|
||||
bupstash = callPackage ../tools/backup/bupstash { };
|
||||
|
||||
burp = callPackage ../tools/backup/burp { };
|
||||
|
||||
buku = callPackage ../applications/misc/buku { };
|
||||
|
|
Loading…
Reference in a new issue