Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 784 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast 2, Keras, numpy, scipy, six, tensorflow }: 3 4buildPythonPackage rec { 5 pname = "edward"; 6 version = "1.3.3"; 7 name = "${pname}-${version}"; 8 9 disabled = !(isPy27 || pythonAtLeast "3.4"); 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "104d58321c5040235b3039ae3215c3c7881073e6aa88bb0b8ca1141ca87c4891"; 14 }; 15 16 # disabled for now due to Tensorflow trying to create files in $HOME: 17 doCheck = false; 18 19 propagatedBuildInputs = [ Keras numpy scipy six tensorflow ]; 20 21 meta = with stdenv.lib; { 22 description = "Probabilistic programming language using Tensorflow"; 23 homepage = https://github.com/blei-lab/edward; 24 license = licenses.asl20; 25 maintainers = with maintainers; [ bcdarwin ]; 26 }; 27}