depot/third_party/nixpkgs/pkgs/development/python-modules/pweave/default.nix
Default email 2ce5db779a Project import generated by Copybara.
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
2022-05-18 16:49:53 +02:00

36 lines
726 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, mock
, matplotlib
, pkgs
, nbconvert
, markdown
, isPy3k
, ipykernel
}:
buildPythonPackage rec {
pname = "Pweave";
version = "0.30.3";
src = fetchPypi {
inherit pname 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;
};
}