1{ lib
2, buildPythonPackage
3, isPy3k
4, fetchPypi
5, boto
6, bz2file
7, moto
8, requests
9, responses
10}:
11
12buildPythonPackage rec {
13 pname = "smart_open";
14 name = "${pname}-${version}";
15 version = "1.5.6";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "8fd2de1c359bd0074bd6d334a5b9820ae1c5b6ba563970b95052bace4b71baeb";
20 };
21
22 propagatedBuildInputs = [ boto bz2file requests responses moto ];
23 meta = {
24 license = lib.licenses.mit;
25 description = "smart_open is a Python 2 & Python 3 library for efficient streaming of very large file";
26 maintainers = with lib.maintainers; [ jyp ];
27 };
28}