pythonPackages.bayespy: init at 0.5.10 (#28919)

* pythonPackages.bayespy: init at 0.5.10

* python.pkgs.bayespy: fix more tests by using unicode locale

authored by Jaakko Luttinen and committed by Jörg Thalheim 67b3f4bc 0529e4d9

+34
+32
pkgs/development/python-modules/bayespy/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchPypi, pythonOlder 2 + , pytest, glibcLocales 3 + , numpy, scipy, matplotlib, h5py }: 4 + 5 + buildPythonPackage rec { 6 + pname = "bayespy"; 7 + version = "0.5.10"; 8 + name = "${pname}-${version}"; 9 + 10 + # Python 2 not supported and not some old Python 3 because MPL doesn't support 11 + # them properly. 12 + disabled = pythonOlder "3.4"; 13 + 14 + src = fetchPypi { 15 + inherit pname version; 16 + sha256 = "01cwd88ri29zy6qpvnqzljkgc44n7a17yijizr73blcnh4dz5n1w"; 17 + }; 18 + 19 + checkInputs = [ pytest glibcLocales ]; 20 + propagatedBuildInputs = [ numpy scipy matplotlib h5py ]; 21 + 22 + checkPhase = '' 23 + LC_ALL=en_US.utf-8 pytest -k 'not test_message_to_parents' 24 + ''; 25 + 26 + meta = with stdenv.lib; { 27 + homepage = http://www.bayespy.org; 28 + description = "Variational Bayesian inference tools for Python"; 29 + license = licenses.mit; 30 + maintainers = with maintainers; [ jluttine ]; 31 + }; 32 + }
+2
pkgs/top-level/python-packages.nix
··· 135 135 bap = pkgs.ocamlPackages_4_02.bap; 136 136 }; 137 137 138 + bayespy = callPackage ../development/python-modules/bayespy { }; 139 + 138 140 bitcoin-price-api = callPackage ../development/python-modules/bitcoin-price-api { }; 139 141 140 142 blivet = callPackage ../development/python-modules/blivet { };