mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
39 lines
767 B
Nix
39 lines
767 B
Nix
{ 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;
|
|
};
|
|
|
|
}
|