1{ lib 2, buildPythonPackage 3, fetchPypi 4, mock 5, matplotlib 6, pkgs 7, nbconvert 8, markdown 9, isPy3k 10, ipykernel 11}: 12 13buildPythonPackage rec { 14 pname = "pweave"; 15 version = "0.30.3"; 16 17 src = fetchPypi { 18 pname = "Pweave"; 19 inherit version; 20 sha256 = "5e5298d90e06414a01f48e0d6aa4c36a70c5f223d929f2a9c7e2d388451c7357"; 21 }; 22 23 disabled = !isPy3k; 24 25 buildInputs = [ mock pkgs.glibcLocales ]; 26 propagatedBuildInputs = [ ipykernel matplotlib nbconvert markdown ]; 27 28 # fails due to trying to run CSS as test 29 doCheck = false; 30 31 meta = with lib; { 32 description = "Scientific reports with embedded python computations with reST, LaTeX or markdown"; 33 homepage = "https://mpastell.com/pweave/"; 34 license = licenses.bsd3; 35 }; 36 37}