python3Packages.mkdocs-minify: Use buildPythonPackage
and enable test suite.
This commit is contained in:
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; {
|
||||
|
Loading…
Reference in New Issue
Block a user