nixpkgs/pkgs/development/python-modules/htmlmin/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

22 lines
574 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 = "A configurable HTML Minifier with safety features";
homepage = "https://pypi.python.org/pypi/htmlmin";
license = licenses.bsd3;
maintainers = [];
};
}