Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 33 lines 668 B view raw
1{ 2 lib, 3 buildPythonApplication, 4 fetchFromGitHub, 5 python-magic, 6 python-dateutil, 7}: 8 9buildPythonApplication rec { 10 pname = "s3cmd"; 11 version = "2.4.0"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "s3tools"; 16 repo = "s3cmd"; 17 tag = "v${version}"; 18 sha256 = "sha256-cxwf6+9WFt3U7+JdKRgZxFElD+Dgf2P2VyejHVoiDJk="; 19 }; 20 21 propagatedBuildInputs = [ 22 python-magic 23 python-dateutil 24 ]; 25 26 meta = with lib; { 27 homepage = "https://s3tools.org/s3cmd"; 28 description = "Command line tool for managing Amazon S3 and CloudFront services"; 29 mainProgram = "s3cmd"; 30 license = licenses.gpl2Plus; 31 maintainers = [ ]; 32 }; 33}