blob: ee35c619fb7451be0bc28ef38ae1ba4af0d10eb9 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{ lib
, python3
, fetchPypi
}:
python3.pkgs.buildPythonApplication rec {
pname = "s3bro";
version = "2.8";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-+OqcLbXilbY4h/zRAkvRd8taVIOPyiScOAcDyPZ4RUw=";
};
propagatedBuildInputs = with python3.pkgs; [
boto3
botocore
click
termcolor
];
postPatch = ''
substituteInPlace setup.py \
--replace "use_2to3=True," ""
'';
# No tests
doCheck = false;
pythonImportsCheck = [
"s3bro"
];
meta = with lib; {
description = "s3 CLI tool";
mainProgram = "s3bro";
homepage = "https://github.com/rsavordelli/s3bro";
license = licenses.mit;
maintainers = with maintainers; [ psyanticy ];
};
}
|