From c82658ac4a8929f050960a6e59939b5d529adcd6 Mon Sep 17 00:00:00 2001 From: PsyanticY Date: Mon, 23 Dec 2019 17:18:23 +0100 Subject: [PATCH] s3bro: init at 2.8 --- pkgs/tools/admin/s3bro/default.nix | 23 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/tools/admin/s3bro/default.nix diff --git a/pkgs/tools/admin/s3bro/default.nix b/pkgs/tools/admin/s3bro/default.nix new file mode 100644 index 000000000000..9f383a8638d3 --- /dev/null +++ b/pkgs/tools/admin/s3bro/default.nix @@ -0,0 +1,23 @@ +{ stdenv, python3Packages }: + +python3Packages.buildPythonPackage rec { + pname = "s3bro"; + version = "2.8"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "0k25g3vch0q772f29jlghda5mjvps55h5lgwhwwbd5g2nlnrrspq"; + }; + + propagatedBuildInputs = with python3Packages; [ boto3 botocore click termcolor ]; + + # No tests + doCheck = false; + + meta = with stdenv.lib; { + description = "A handy s3 cli tool"; + homepage = https://github.com/rsavordelli/s3bro; + license = licenses.mit; + maintainers = with maintainers; [ psyanticy ]; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f6b16b1ef32f..6be1eebd1290 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6122,6 +6122,8 @@ in s3backer = callPackage ../tools/filesystems/s3backer { }; + s3bro = callPackage ../tools/admin/s3bro { }; + s3fs = callPackage ../tools/filesystems/s3fs { }; s3cmd = callPackage ../tools/networking/s3cmd { };