python313Packages.traits: fix build (#373698)
[NixPkgs.git] / pkgs / development / python-modules / cmarkgfm / default.nix
blob23a38b8377e3e6c952477bcca7b41b78228b18c8
2   lib,
3   buildPythonPackage,
4   cffi,
5   fetchPypi,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "cmarkgfm";
12   version = "2024.1.14";
13   format = "setuptools";
15   disabled = pythonOlder "3.6";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-ogjBcm4SujhRJc7yxtN1xBxd6kzCZzp3r3ErHb8HTpA=";
20   };
22   propagatedNativeBuildInputs = [ cffi ];
24   propagatedBuildInputs = [ cffi ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "cmarkgfm" ];
30   meta = with lib; {
31     description = "Minimal bindings to GitHub's fork of cmark";
32     homepage = "https://github.com/jonparrott/cmarkgfm";
33     license = licenses.mit;
34     maintainers = with maintainers; [ fab ];
35   };