Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, mkdocs, csscompressor, htmlmin, jsmin, pytestCheckHook,}:
buildPythonPackage rec { pname = "mkdocs-minify-plugin"; version = "0.8.0"; format = "setuptools";
src = fetchFromGitHub { owner = "byrnereese"; repo = "mkdocs-minify-plugin"; tag = version; hash = "sha256-Cp8eSEW7Yx7l1TcaS4ctOBLGYpAzapm2tkSbmzyb7rA="; };
propagatedBuildInputs = [ csscompressor htmlmin jsmin mkdocs ];
nativeCheckInputs = [ mkdocs pytestCheckHook ];
# Some tests fail with an assertion error failure doCheck = false;
pythonImportsCheck = [ "mkdocs" ];
meta = { description = "Mkdocs plugin to minify the HTML of a page before it is written to disk"; homepage = "https://github.com/byrnereese/mkdocs-minify-plugin"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ tfc ]; };}