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

26 lines
536 B
Nix
Raw Normal View History

2018-04-07 13:26:08 +00:00
{ lib, buildPythonPackage, fetchPypi, cffi, pytest }:
buildPythonPackage rec {
pname = "cmarkgfm";
2018-04-07 22:21:33 +00:00
version = "0.4.0";
2018-04-07 13:26:08 +00:00
src = fetchPypi {
inherit pname version;
2018-04-07 22:21:33 +00:00
sha256 = "977d7061779c7ebc5cbe7af71adb795ced96058552fe5f6b646d95b5055959be";
2018-04-07 13:26:08 +00: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;
};
}