1 { lib, buildPythonPackage, fetchPypi, isPy27, cffi, pytest }:
3 buildPythonPackage rec {
10 sha256 = "694cb242f4961437c30b5b015dfbce9d1a1fa48305c2e39f902ce7c65b4cbe0e";
13 propagatedNativeBuildInputs = [ cffi ];
15 propagatedBuildInputs = [ cffi ];
17 # I would gladly use pytestCheckHook, but pycmarkgfm relies on a native
18 # extension (cmark.so, built through setup.py), and pytestCheckHook runs
19 # pytest in an environment that does not contain this extension, which fails.
20 # cmarkgfm has virtually the same build setup as this package, and uses the
21 # same trick: pkgs/development/python-modules/cmarkgfm/default.nix
22 checkInputs = [ pytest ];
28 homepage = "https://github.com/zopieux/pycmarkgfm";
29 description = "Bindings to GitHub's Flavored Markdown (cmark-gfm), with enhanced support for task lists";
30 platforms = platforms.linux ++ platforms.darwin;
31 license = licenses.gpl3Plus;
32 maintainers = with maintainers; [ zopieux ];