mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
37 lines
726 B
Nix
37 lines
726 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
cffi,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cmarkgfm";
|
|
version = "2024.1.14";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ogjBcm4SujhRJc7yxtN1xBxd6kzCZzp3r3ErHb8HTpA=";
|
|
};
|
|
|
|
propagatedNativeBuildInputs = [ cffi ];
|
|
|
|
propagatedBuildInputs = [ cffi ];
|
|
|
|
nativeCheckInputs = [ 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 ];
|
|
};
|
|
}
|