2018-04-07 14:26:08 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, cffi, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cmarkgfm";
|
2018-05-09 15:45:54 +01:00
|
|
|
version = "0.4.2";
|
2018-04-07 14:26:08 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-05-09 15:45:54 +01:00
|
|
|
sha256 = "f20900f16377f2109783ae9348d34bc80530808439591c3d3df73d5c7ef1a00c";
|
2018-04-07 14:26:08 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cffi ];
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Minimal bindings to GitHub's fork of cmark";
|
|
|
|
homepage = https://github.com/jonparrott/cmarkgfm;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|