3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/cmarkgfm/default.nix

32 lines
651 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, cffi
, fetchPypi
, pytestCheckHook
}:
2018-04-07 14:26:08 +01:00
buildPythonPackage rec {
pname = "cmarkgfm";
version = "0.6.0";
2018-04-07 14:26:08 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "ec2bf8d5799c4b5bbfbae30a4a1dfcb06512f2e17e9ee60ba7e1d390318582fc";
2018-04-07 14:26:08 +01:00
};
propagatedNativeBuildInputs = [ cffi ];
2018-04-07 14:26:08 +01:00
propagatedBuildInputs = [ cffi ];
checkInputs = [ pytestCheckHook ];
2018-04-07 14:26:08 +01:00
pythonImportsCheck = [ "cmarkgfm" ];
2018-04-07 14:26:08 +01:00
meta = with lib; {
description = "Minimal bindings to GitHub's fork of cmark";
homepage = "https://github.com/jonparrott/cmarkgfm";
2018-04-07 14:26:08 +01:00
license = licenses.mit;
maintainers = with maintainers; [ fab ];
2018-04-07 14:26:08 +01:00
};
}