3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pweave/default.nix
Maximilian Bosch eb84501ef9
python{2,3}Packages.Pweave: fix build
Version 0.30 was missing the Python dependencies `nbconvert` and `markdown`.

Also Python 2 isn't supported any more since 0.30
(https://github.com/mpastell/Pweave/blob/master/CHANGELOG.txt) and can
therefore be dropped.
2019-01-04 01:28:35 +01:00

36 lines
712 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, mock
, matplotlib
, pkgs
, nbconvert
, markdown
, isPy3k
}:
buildPythonPackage rec {
pname = "Pweave";
version = "0.30.3";
src = fetchPypi {
inherit pname version;
sha256 = "5e5298d90e06414a01f48e0d6aa4c36a70c5f223d929f2a9c7e2d388451c7357";
};
disabled = !isPy3k;
buildInputs = [ mock pkgs.glibcLocales ];
propagatedBuildInputs = [ matplotlib nbconvert markdown ];
# fails due to trying to run CSS as test
doCheck = false;
meta = with stdenv.lib; {
description = "Scientific reports with embedded python computations with reST, LaTeX or markdown";
homepage = http://mpastell.com/pweave/ ;
license = licenses.bsd3;
};
}