s3cmd: use python3

This commit is contained in:
Mario Rodas 2020-04-09 04:20:00 -05:00
parent 9d9ea65c5d
commit d20690b0d0
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027
2 changed files with 12 additions and 11 deletions

View File

@ -1,23 +1,24 @@
{ stdenv, fetchFromGitHub, python2Packages }:
{ stdenv, buildPythonApplication, fetchFromGitHub, python_magic, dateutil }:
python2Packages.buildPythonApplication rec {
buildPythonApplication rec {
pname = "s3cmd";
version = "2.1.0";
src = fetchFromGitHub {
owner = "s3tools";
repo = "s3cmd";
rev = "v${version}";
owner = "s3tools";
repo = "s3cmd";
rev = "v${version}";
sha256 = "0p6mbgai7f0c12pkw4s7d649gj1f8hywj60pscxvj9jsna3iifhs";
};
propagatedBuildInputs = with python2Packages; [ python_magic dateutil ];
propagatedBuildInputs = [ python_magic dateutil ];
dontUseSetuptoolsCheck = true;
meta = with stdenv.lib; {
homepage = "http://s3tools.org/";
description = "A command-line tool to manipulate Amazon S3 buckets";
homepage = "https://s3tools.org/s3cmd";
description = "Command line tool for managing Amazon S3 and CloudFront services";
license = licenses.gpl2;
maintainers = [ maintainers.spwhitt ];
platforms = platforms.all;
};
}

View File

@ -6360,7 +6360,7 @@ in
s3fs = callPackage ../tools/filesystems/s3fs { };
s3cmd = callPackage ../tools/networking/s3cmd { };
s3cmd = python3Packages.callPackage ../tools/networking/s3cmd { };
s4cmd = callPackage ../tools/networking/s4cmd { };