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.
This commit is contained in:
Maximilian Bosch 2019-01-04 01:15:56 +01:00
parent e753bc125f
commit eb84501ef9
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -4,6 +4,9 @@
, mock , mock
, matplotlib , matplotlib
, pkgs , pkgs
, nbconvert
, markdown
, isPy3k
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -15,8 +18,10 @@ buildPythonPackage rec {
sha256 = "5e5298d90e06414a01f48e0d6aa4c36a70c5f223d929f2a9c7e2d388451c7357"; sha256 = "5e5298d90e06414a01f48e0d6aa4c36a70c5f223d929f2a9c7e2d388451c7357";
}; };
disabled = !isPy3k;
buildInputs = [ mock pkgs.glibcLocales ]; buildInputs = [ mock pkgs.glibcLocales ];
propagatedBuildInputs = [ matplotlib ]; propagatedBuildInputs = [ matplotlib nbconvert markdown ];
# fails due to trying to run CSS as test # fails due to trying to run CSS as test
doCheck = false; doCheck = false;