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

26 lines
538 B
Nix
Raw Normal View History

2018-04-07 06:26:08 -07:00
{ lib, buildPythonPackage, fetchPypi, cffi, pytest }:
buildPythonPackage rec {
pname = "cmarkgfm";
version = "0.5.2";
2018-04-07 06:26:08 -07:00
src = fetchPypi {
inherit pname version;
sha256 = "e7d65b90645faa55c28886d01f658235af08b4c4edbf9d959518a17007dd20b4";
2018-04-07 06:26:08 -07: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 06:26:08 -07:00
license = licenses.mit;
};
}