2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
lib,
|
|
|
|
nbconvert,
|
|
|
|
nbformat,
|
|
|
|
notebook,
|
|
|
|
pandoc-attributes,
|
|
|
|
six,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "notedown";
|
|
|
|
version = "1.5.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "36e033ebbbe5aca0fab031ffaf3611d5bc5c50237df68ff81bb95f8be353a1ee";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
notebook
|
|
|
|
nbconvert
|
|
|
|
nbformat
|
|
|
|
pandoc-attributes
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
# No tests in pypi source
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/aaren/notedown";
|
|
|
|
description = "Convert IPython Notebooks to markdown (and back)";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "notedown";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = with lib.maintainers; [ vcanadi ];
|
|
|
|
};
|
|
|
|
}
|