summary refs log tree commit diff
path: root/pkgs/development/python-modules/smart_open/default.nix
blob: 436d85102d81de7f4f98d73103a5669222190b12 (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
{ lib
, buildPythonPackage
, isPy3k
, fetchPypi
, boto
, bz2file
, moto
, requests
, responses
}:

buildPythonPackage rec {
  pname = "smart_open";
  name = "${pname}-${version}";
  version = "1.5.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0m5j71f7f36s17v4mwv0bxg4azknvcy82rbjp28b4vifrjd6dm7s";
  };

  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";
    maintainers = with lib.maintainers; [ jyp ];
  };
}