about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pweave/default.nix
blob: 2c85434ac6bcf322c6d6fcb7f24dc79fb14495ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, buildPythonPackage
, fetchPypi
, mock
, matplotlib
, pkgs
, nbconvert
, markdown
, isPy3k
, ipykernel
}:

buildPythonPackage rec {
  pname = "pweave";
  version = "0.30.3";
  format = "setuptools";

  src = fetchPypi {
    pname = "Pweave";
    inherit version;
    sha256 = "5e5298d90e06414a01f48e0d6aa4c36a70c5f223d929f2a9c7e2d388451c7357";
  };

  disabled = !isPy3k;

  buildInputs = [ mock pkgs.glibcLocales ];
  propagatedBuildInputs = [ ipykernel matplotlib nbconvert markdown ];

  # fails due to trying to run CSS as test
  doCheck = false;

  meta = with lib; {
    description = "Scientific reports with embedded python computations with reST, LaTeX or markdown";
    homepage = "https://mpastell.com/pweave/";
    license = licenses.bsd3;
  };

}