s3cmd: migrate to pyproject

This commit is contained in:
klea
2026-07-18 17:20:09 +00:00
parent 8b97844863
commit ca6501bddb
+9 -5
View File
@@ -4,23 +4,27 @@
fetchFromGitHub,
}:
python3Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication (finalAttrs: {
pname = "s3cmd";
version = "2.4.0";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "s3tools";
repo = "s3cmd";
tag = "v${version}";
tag = "v${finalAttrs.version}";
sha256 = "sha256-cxwf6+9WFt3U7+JdKRgZxFElD+Dgf2P2VyejHVoiDJk=";
};
propagatedBuildInputs = with python3Packages; [
dependencies = with python3Packages; [
python-magic
python-dateutil
];
build-system = with python3Packages; [ setuptools ];
pythonImportsCheck = [ "S3" ];
meta = {
homepage = "https://s3tools.org/s3cmd";
description = "Command line tool for managing Amazon S3 and CloudFront services";
@@ -28,4 +32,4 @@ python3Packages.buildPythonApplication rec {
license = lib.licenses.gpl2Plus;
maintainers = [ ];
};
}
})