26 lines
538 B
Nix
26 lines
538 B
Nix
{ lib, buildPythonPackage, fetchPypi, cffi, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cmarkgfm";
|
|
version = "0.5.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "e7d65b90645faa55c28886d01f658235af08b4c4edbf9d959518a17007dd20b4";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|