567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
34 lines
662 B
Nix
34 lines
662 B
Nix
{
|
|
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 = [ ];
|
|
};
|
|
}
|