python3Packages.mkdocs-minify: Use buildPythonPackage

and enable test suite.
This commit is contained in:
Martin Weinelt
2022-10-02 19:06:38 +02:00
parent 2cf6c1f1b3
commit 91d0e1f878
@@ -1,14 +1,15 @@
{ lib
, callPackage
, buildPythonApplication
, buildPythonPackage
, fetchFromGitHub
, mkdocs
, csscompressor
, htmlmin
, jsmin
, pytestCheckHook
}:
buildPythonApplication rec {
buildPythonPackage rec {
pname = "mkdocs-minify";
version = "0.5.0";
@@ -26,6 +27,11 @@ buildPythonApplication rec {
mkdocs
];
checkInputs = [
mkdocs
pytestCheckHook
];
pythonImportsCheck = [ "mkdocs" ];
meta = with lib; {