python.pkgs.cmarkgfm: init at 0.3.0

This commit is contained in:
Robert Schütz 2018-04-07 15:26:08 +02:00 committed by Frederik Rietdijk
parent 6cec0a6dc6
commit 19945a3dfc
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib, buildPythonPackage, fetchPypi, cffi, pytest }:
buildPythonPackage rec {
pname = "cmarkgfm";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "84465f6534f49687f1a8069d48044799d2dd3f4e7ff06b66b7eea1502f3c402d";
};
propagatedBuildInputs = [ cffi ];
checkInputs = [ pytest ];
checkPhase = ''
py.test
'';
# no tests in PyPI tarball
# see https://github.com/jonparrott/cmarkgfm/pull/6
doCheck = false;
meta = with lib; {
description = "Minimal bindings to GitHub's fork of cmark";
homepage = https://github.com/jonparrott/cmarkgfm;
license = licenses.mit;
};
}

View File

@ -1125,6 +1125,8 @@ in {
cheroot = callPackage ../development/python-modules/cheroot {}; cheroot = callPackage ../development/python-modules/cheroot {};
cmarkgfm = callPackage ../development/python-modules/cmarkgfm { };
circus = callPackage ../development/python-modules/circus {}; circus = callPackage ../development/python-modules/circus {};
colorclass = callPackage ../development/python-modules/colorclass {}; colorclass = callPackage ../development/python-modules/colorclass {};