nixpkgs/pkgs/development/python-modules/htmlmin/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

27 lines
609 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "htmlmin";
version = "0.1.12";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "50c1ef4630374a5d723900096a961cff426dff46b48f34d194a81bbe14eca178";
};
# Tests run fine in a normal source checkout, but not when being built by nix.
doCheck = false;
meta = with lib; {
description = "Configurable HTML Minifier with safety features";
mainProgram = "htmlmin";
homepage = "https://pypi.python.org/pypi/htmlmin";
license = licenses.bsd3;
maintainers = [ ];
};
}