lol

Merge pull request #26525 from jyp/boto-2.47

pythonPackages.gensim: init at 2.1.0

authored by

Frederik Rietdijk and committed by
GitHub
2a24fdae 96984397

+104 -2
+25
pkgs/development/python-modules/bz2file/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , isPy3k 4 + , fetchPypi 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "bz2file"; 9 + version = "0.98"; 10 + name = "${pname}-${version}"; 11 + 12 + src = fetchPypi { 13 + inherit pname version; 14 + sha256 = "126s53fkpx04f33a829yqqk8fj4png3qwg4m66cvlmhmwc8zihb4"; 15 + }; 16 + 17 + doCheck = false; 18 + # The test module (test_bz2file) is not available 19 + 20 + meta = { 21 + description = "Bz2file is a Python library for reading and writing bzip2-compressed files"; 22 + license = lib.licenses.asl20; 23 + maintainers = with lib.maintainers; [ jpbernardy ]; 24 + }; 25 + }
+43
pkgs/development/python-modules/gensim/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , numpy 5 + , six 6 + , scipy 7 + , smart_open 8 + , scikitlearn 9 + , testfixtures 10 + , unittest2 11 + }: 12 + 13 + buildPythonPackage rec { 14 + pname = "gensim"; 15 + name = "${pname}-${version}"; 16 + version = "2.1.0"; 17 + src = fetchPypi { 18 + inherit pname version; 19 + sha256 = "1wn7bji9b80wn1yggmh7a0dlwzdjr6cp24x4p33j2rf29lxnm2kc"; 20 + }; 21 + 22 + propagatedBuildInputs = [ smart_open numpy six scipy 23 + # scikitlearn testfixtures unittest2 # for tests 24 + ]; 25 + doCheck = false; 26 + 27 + # Two tests fail. 28 + 29 + # ERROR: testAddMorphemesToEmbeddings (gensim.test.test_varembed_wrapper.TestVarembed) 30 + # ImportError: Could not import morfessor. 31 + # This package is not in nix 32 + 33 + # ERROR: testWmdistance (gensim.test.test_fasttext_wrapper.TestFastText) 34 + # ImportError: Please install pyemd Python package to compute WMD. 35 + # This package is not in nix 36 + 37 + meta = { 38 + description = "Topic-modelling library"; 39 + homepage = "https://radimrehurek.com/gensim/"; 40 + license = lib.licenses.lgpl21; 41 + maintainers = with lib.maintainers; [ jpbernardy ]; 42 + }; 43 + }
+28
pkgs/development/python-modules/smart_open/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , isPy3k 4 + , fetchPypi 5 + , boto 6 + , bz2file 7 + , moto 8 + , requests 9 + , responses 10 + }: 11 + 12 + buildPythonPackage 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 + }
+8 -2
pkgs/top-level/python-packages.nix
··· 2969 2969 2970 2970 boto = buildPythonPackage rec { 2971 2971 name = "boto-${version}"; 2972 - version = "2.45.0"; 2972 + version = "2.47.0"; 2973 2973 2974 2974 src = pkgs.fetchurl { 2975 2975 url = "https://github.com/boto/boto/archive/${version}.tar.gz"; 2976 - sha256 = "18z5nacnbdpw3pmzc56didhy4sfik8riap204px24350g9xlgz7i"; 2976 + sha256 = "051gq8z9m2cir03jhc00qs36bnpla7zkqm9xqiqcqvdknmi2ndbq"; 2977 2977 }; 2978 2978 2979 2979 checkPhase = '' ··· 30483 30483 node-semver = callPackage ../development/python-modules/node-semver { }; 30484 30484 30485 30485 distro = callPackage ../development/python-modules/distro { }; 30486 + 30487 + bz2file = callPackage ../development/python-modules/bz2file { }; 30488 + 30489 + smart_open = callPackage ../development/python-modules/smart_open { }; 30490 + 30491 + gensim = callPackage ../development/python-modules/gensim { }; 30486 30492 30487 30493 }); 30488 30494