diff options
author | adisbladis <adis@blad.is> | 2017-11-11 00:55:43 +0800 |
---|---|---|
committer | adisbladis <adis@blad.is> | 2017-11-11 02:35:41 +0800 |
commit | ac3a328e0740cbfef7c4b3ebdf472784fdedb3b0 (patch) | |
tree | ef607b830f55bfd1a57c3027c414a76ac6c66acf /pkgs/development/python-modules/s3transfer | |
parent | 0286cc72203d3872902bae5a8b48dbc5c95ef93c (diff) | |
download | nixlib-ac3a328e0740cbfef7c4b3ebdf472784fdedb3b0.tar nixlib-ac3a328e0740cbfef7c4b3ebdf472784fdedb3b0.tar.gz nixlib-ac3a328e0740cbfef7c4b3ebdf472784fdedb3b0.tar.bz2 nixlib-ac3a328e0740cbfef7c4b3ebdf472784fdedb3b0.tar.lz nixlib-ac3a328e0740cbfef7c4b3ebdf472784fdedb3b0.tar.xz nixlib-ac3a328e0740cbfef7c4b3ebdf472784fdedb3b0.tar.zst nixlib-ac3a328e0740cbfef7c4b3ebdf472784fdedb3b0.zip |
pythonPackages.s3transfer: 0.1.10 -> 0.1.11
Diffstat (limited to 'pkgs/development/python-modules/s3transfer')
-rw-r--r-- | pkgs/development/python-modules/s3transfer/default.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/s3transfer/default.nix b/pkgs/development/python-modules/s3transfer/default.nix new file mode 100644 index 000000000000..8e5b30c26b41 --- /dev/null +++ b/pkgs/development/python-modules/s3transfer/default.nix @@ -0,0 +1,53 @@ +{ stdenv +, fetchPypi +, pythonOlder +, buildPythonPackage +, docutils +, mock +, nose +, coverage +, wheel +, unittest2 +, botocore +, futures +}: + +buildPythonPackage rec { + pname = "s3transfer"; + version = "0.1.11"; + + src = fetchPypi { + inherit pname version; + sha256 = "0yfrfnf404cxzn3iswibqjxklsl0b1lwgqiml6pwiqj79a7zbwbn"; + }; + + foo = 1; + + propagatedBuildInputs = + [ botocore + ] ++ stdenv.lib.optional (pythonOlder "3") futures; + + buildInputs = [ + docutils + mock + nose + coverage + wheel + unittest2 + ]; + + checkPhase = '' + pushd s3transfer/tests + nosetests -v unit/ functional/ + popd + ''; + + # version on pypi has no tests/ dir + doCheck = false; + + meta = { + homepage = https://github.com/boto/s3transfer; + license = stdenv.lib.licenses.asl20; + description = "A library for managing Amazon S3 transfers"; + }; +} |