depot/third_party/nixpkgs/pkgs/development/python-modules/cmarkgfm/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

25 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;
};
}