2018-04-07 14:26:08 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, cffi, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cmarkgfm";
|
2020-11-29 14:04:25 +00:00
|
|
|
version = "0.5.0";
|
2018-04-07 14:26:08 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:25 +00:00
|
|
|
sha256 = "7a5131a78836e55dcdb1f2c5f17bbaa40e5f83c86a205de1b71a298928e1391f";
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jonparrott/cmarkgfm";
|
2018-04-07 14:26:08 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|