Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / cmarkgfm / default.nix
blob1c5e80961d54b088bb036d1ff9c886f6877cf822
1 { lib
2 , buildPythonPackage
3 , cffi
4 , fetchPypi
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "cmarkgfm";
11   version = "2024.1.14";
12   format = "setuptools";
14   disabled = pythonOlder "3.6";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-ogjBcm4SujhRJc7yxtN1xBxd6kzCZzp3r3ErHb8HTpA=";
19   };
21   propagatedNativeBuildInputs = [
22     cffi
23   ];
25   propagatedBuildInputs = [
26     cffi
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "cmarkgfm"
35   ];
37   meta = with lib; {
38     description = "Minimal bindings to GitHub's fork of cmark";
39     homepage = "https://github.com/jonparrott/cmarkgfm";
40     license = licenses.mit;
41     maintainers = with maintainers; [ fab ];
42   };