backblaze-b2: init at version 0.3.10
This commit is contained in:
parent
a9618d217f
commit
47c863f9ef
@ -159,6 +159,7 @@
|
||||
jzellner = "Jeff Zellner <jeffz@eml.cc>";
|
||||
kamilchm = "Kamil Chmielewski <kamil.chm@gmail.com>";
|
||||
kampfschlaefer = "Arnold Krille <arnold@arnoldarts.de>";
|
||||
kevincox = "Kevin Cox <kevincox@kevincox.ca>";
|
||||
khumba = "Bryan Gardiner <bog@khumba.net>";
|
||||
kkallio = "Karn Kallio <tierpluspluslists@gmail.com>";
|
||||
koral = "Koral <koral@mailoo.org>";
|
||||
|
31
pkgs/development/tools/backblaze-b2/default.nix
Normal file
31
pkgs/development/tools/backblaze-b2/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, lib, fetchFromGitHub, pkgs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "backblaze-b2-0.3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Backblaze";
|
||||
repo = "B2_Command_Line_Tool";
|
||||
rev = "b097f0f04d3f88d7a372b50ee6db1f89a5249028";
|
||||
sha256 = "1rcy8180476cpmrbls4424qbq8nyq7mxkfikd52a8skz7rd5ljc6";
|
||||
};
|
||||
|
||||
buildInputs = with pkgs; [ python2 ];
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
python test_b2_command_line.py test
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 b2 "$out/bin/backblaze-b2"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Command-line tool for accessing the Backblaze B2 storage service.";
|
||||
homepage = https://github.com/Backblaze/B2_Command_Line_Tool;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ kevincox ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -663,6 +663,8 @@ let
|
||||
|
||||
azureus = callPackage ../tools/networking/p2p/azureus { };
|
||||
|
||||
backblaze-b2 = callPackage ../development/tools/backblaze-b2 { };
|
||||
|
||||
backup = callPackage ../tools/backup/backup { };
|
||||
|
||||
basex = callPackage ../tools/text/xml/basex { };
|
||||
@ -2327,8 +2329,8 @@ let
|
||||
|
||||
miniupnpd = callPackage ../tools/networking/miniupnpd { };
|
||||
|
||||
miniball = callPackage ../development/libraries/miniball { };
|
||||
|
||||
miniball = callPackage ../development/libraries/miniball { };
|
||||
|
||||
minixml = callPackage ../development/libraries/minixml { };
|
||||
|
||||
mjpegtools = callPackage ../tools/video/mjpegtools { };
|
||||
|
Loading…
Reference in New Issue
Block a user