summary refs log tree commit diff
path: root/pkgs/tools/networking/s3cmd/default.nix
blob: 53f24ddb752455bd83ac05ba861e5107db78f758 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, buildPythonApplication, fetchFromGitHub, python_magic, dateutil }:

buildPythonApplication rec {
  pname = "s3cmd";
  version = "2.1.0";

  src = fetchFromGitHub {
    owner = "s3tools";
    repo = "s3cmd";
    rev = "v${version}";
    sha256 = "0p6mbgai7f0c12pkw4s7d649gj1f8hywj60pscxvj9jsna3iifhs";
  };

  propagatedBuildInputs = [ python_magic dateutil ];

  dontUseSetuptoolsCheck = true;

  meta = with stdenv.lib; {
    homepage = "https://s3tools.org/s3cmd";
    description = "Command line tool for managing Amazon S3 and CloudFront services";
    license = licenses.gpl2;
    maintainers = [ maintainers.spwhitt ];
  };
}