python3Packages.cmarkgfm:: switch to pytestCheckHook
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, cffi, pytest }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, cffi
|
||||||
|
, fetchPypi
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cmarkgfm";
|
pname = "cmarkgfm";
|
||||||
@@ -11,15 +16,14 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ cffi ];
|
propagatedBuildInputs = [ cffi ];
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
checkPhase = ''
|
pythonImportsCheck = [ "cmarkgfm" ];
|
||||||
py.test
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Minimal bindings to GitHub's fork of cmark";
|
description = "Minimal bindings to GitHub's fork of cmark";
|
||||||
homepage = "https://github.com/jonparrott/cmarkgfm";
|
homepage = "https://github.com/jonparrott/cmarkgfm";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user