nixpkgs/pkgs/development/python-modules/cmarkgfm/default.nix

26 lines
538 B
Nix
Raw Normal View History

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