Files
nixpkgs/pkgs/development/python-modules/css-html-js-minify/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

45 lines
867 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
distutils,
setuptools,
pythonOlder,
}:
buildPythonPackage rec {
pname = "css-html-js-minify";
version = "2.5.5";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-Sp8R9+BJb1KE0SER87pP9f8gI9EvFdGVycSL2XATdGw=";
};
build-system = [
distutils
setuptools
];
# Tests are useless and broken
doCheck = false;
pythonImportsCheck = [ "css_html_js_minify" ];
meta = {
description = "StandAlone Async cross-platform Minifier for the Web";
homepage = "https://github.com/juancarlospaco/css-html-js-minify";
license = with lib.licenses; [
gpl3Plus
lgpl3Plus
mit
];
maintainers = with lib.maintainers; [ FlorianFranzen ];
mainProgram = "css-html-js-minify";
};
}