nixpkgs/pkgs/development/python-modules/cmarkgfm/default.nix

30 lines
595 B
Nix
Raw Normal View History

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