2017-06-12 10:13:42 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy3k
|
|
|
|
, fetchPypi
|
|
|
|
, boto
|
|
|
|
, bz2file
|
|
|
|
, moto
|
|
|
|
, requests
|
|
|
|
, responses
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "smart_open";
|
|
|
|
name = "${pname}-${version}";
|
2017-12-30 12:27:26 +01:00
|
|
|
version = "1.5.6";
|
2017-06-12 10:13:42 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 12:27:26 +01:00
|
|
|
sha256 = "8fd2de1c359bd0074bd6d334a5b9820ae1c5b6ba563970b95052bace4b71baeb";
|
2017-06-12 10:13:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ boto bz2file requests responses moto ];
|
|
|
|
meta = {
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
description = "smart_open is a Python 2 & Python 3 library for efficient streaming of very large file";
|
2017-09-12 09:59:28 +02:00
|
|
|
maintainers = with lib.maintainers; [ jyp ];
|
2017-06-12 10:13:42 +02:00
|
|
|
};
|
|
|
|
}
|