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 inherit pname version;
19 sha256 = "5e5298d90e06414a01f48e0d6aa4c36a70c5f223d929f2a9c7e2d388451c7357";
20 };
21
22 disabled = !isPy3k;
23
24 buildInputs = [ mock pkgs.glibcLocales ];
25 propagatedBuildInputs = [ ipykernel matplotlib nbconvert markdown ];
26
27 # fails due to trying to run CSS as test
28 doCheck = false;
29
30 meta = with lib; {
31 description = "Scientific reports with embedded python computations with reST, LaTeX or markdown";
32 homepage = "https://mpastell.com/pweave/";
33 license = licenses.bsd3;
34 };
35
36}