depot/third_party/nixpkgs/pkgs/development/python-modules/cmarkgfm/default.nix
Default email 48af15f7a5 Project import generated by Copybara.
GitOrigin-RevId: 04a2b269d8921505a2969fc9ec25c1f517f2b307
2021-03-20 04:20:00 +00:00

29 lines
595 B
Nix

{ lib
, buildPythonPackage
, cffi
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cmarkgfm";
version = "0.5.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-tqVJq6Mnq9mG1nSM8hyGN9dBx2hQ5/773vjSi/4TjjI=";
};
propagatedBuildInputs = [ cffi ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cmarkgfm" ];
meta = with lib; {
description = "Minimal bindings to GitHub's fork of cmark";
homepage = "https://github.com/jonparrott/cmarkgfm";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}