python3Packages.mkdocs-minify: Use buildPythonPackage

and enable test suite.
This commit is contained in:
Martin Weinelt 2022-10-02 18:13:32 +02:00
parent 2cf6c1f1b3
commit 91d0e1f878
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -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; {