Merge pull request #55284 from vcanadi/notedown

pythonPackages.notedown: init at 1.5.1
This commit is contained in:
Ryan Mulligan 2020-01-05 08:19:19 -08:00 committed by GitHub
commit 38929d3ddc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 75 additions and 0 deletions

View file

@ -7290,6 +7290,11 @@
githubId = 797581;
name = "Vincent Bernardoff";
};
vcanadi = {
email = "vito.canadi@gmail.com";
github = "vcanadi";
name = "Vitomir Čanadi";
};
vcunat = {
name = "Vladimír Čunát";
email = "v@cunat.cz"; # vcunat@gmail.com predominated in commits before 2019/03

View file

@ -0,0 +1,37 @@
{ buildPythonPackage
, fetchPypi
, lib
, nbconvert
, nbformat
, notebook
, pandoc-attributes
, six
}:
buildPythonPackage rec {
pname = "notedown";
version = "1.5.1";
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)";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ vcanadi ];
};
}

View file

@ -0,0 +1,29 @@
{ buildPythonPackage
, fetchPypi
, lib
, pandocfilters
}:
buildPythonPackage rec {
pname = "pandoc-attributes";
version = "0.1.7";
src = fetchPypi {
inherit pname version;
sha256 = "69221502dac74f5df1317011ce62c85a83eef5da3b71c63b1908e98224304a8c";
};
propagatedBuildInputs = [
pandocfilters
];
# No tests in pypi source
doCheck = false;
meta = {
homepage = https://github.com/aaren/pandoc-attributes;
description = "An Attribute class to be used with pandocfilters";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ vcanadi ];
};
}

View file

@ -4294,6 +4294,8 @@ in {
notebook = if isPy3k then callPackage ../development/python-modules/notebook { }
else callPackage ../development/python-modules/notebook/2.nix { };
notedown = callPackage ../development/python-modules/notedown { };
notify = callPackage ../development/python-modules/notify { };
notify2 = callPackage ../development/python-modules/notify2 {};
@ -6334,6 +6336,8 @@ in {
pandocfilters = callPackage ../development/python-modules/pandocfilters { };
pandoc-attributes = callPackage ../development/python-modules/pandoc-attributes { };
htmltreediff = callPackage ../development/python-modules/htmltreediff { };
repeated_test = callPackage ../development/python-modules/repeated_test { };