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