summaryrefslogtreecommitdiff
path: root/pkgs/tools/networking/s3cmd/default.nix
blob: 72d23e85acbec671479485ccb434c561c8244dce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  lib,
  buildPythonApplication,
  fetchFromGitHub,
  python-magic,
  python-dateutil,
}:

buildPythonApplication rec {
  pname = "s3cmd";
  version = "2.4.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "s3tools";
    repo = "s3cmd";
    tag = "v${version}";
    sha256 = "sha256-cxwf6+9WFt3U7+JdKRgZxFElD+Dgf2P2VyejHVoiDJk=";
  };

  propagatedBuildInputs = [
    python-magic
    python-dateutil
  ];

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