about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/cmarkgfm/default.nix
blob: 7379d6dc6c9638c56180624c27a7dafa3f03e3ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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 ];
  };
}