Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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.3"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "0m5j71f7f36s17v4mwv0bxg4azknvcy82rbjp28b4vifrjd6dm7s"; 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; [ jpbernardy ]; 27 }; 28}