mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
python.pkgs.cmarkgfm: init at 0.3.0
This commit is contained in:
parent
6cec0a6dc6
commit
19945a3dfc
29
pkgs/development/python-modules/cmarkgfm/default.nix
Normal file
29
pkgs/development/python-modules/cmarkgfm/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, cffi, pytest }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cmarkgfm";
|
||||||
|
version = "0.3.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "84465f6534f49687f1a8069d48044799d2dd3f4e7ff06b66b7eea1502f3c402d";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ cffi ];
|
||||||
|
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
# no tests in PyPI tarball
|
||||||
|
# see https://github.com/jonparrott/cmarkgfm/pull/6
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Minimal bindings to GitHub's fork of cmark";
|
||||||
|
homepage = https://github.com/jonparrott/cmarkgfm;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -1125,6 +1125,8 @@ in {
|
|||||||
|
|
||||||
cheroot = callPackage ../development/python-modules/cheroot {};
|
cheroot = callPackage ../development/python-modules/cheroot {};
|
||||||
|
|
||||||
|
cmarkgfm = callPackage ../development/python-modules/cmarkgfm { };
|
||||||
|
|
||||||
circus = callPackage ../development/python-modules/circus {};
|
circus = callPackage ../development/python-modules/circus {};
|
||||||
|
|
||||||
colorclass = callPackage ../development/python-modules/colorclass {};
|
colorclass = callPackage ../development/python-modules/colorclass {};
|
||||||
|
Loading…
Reference in New Issue
Block a user