2018-04-07 14:26:08 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, cffi, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cmarkgfm";
|
2021-03-14 12:29:38 +00:00
|
|
|
version = "0.5.3";
|
2018-04-07 14:26:08 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-14 12:29:38 +00:00
|
|
|
sha256 = "sha256-tqVJq6Mnq9mG1nSM8hyGN9dBx2hQ5/773vjSi/4TjjI=";
|
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;
|
|
|
|
};
|
|
|
|
}
|