Files
nixpkgs/pkgs/development/python-modules/htmlmin/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

23 lines
603 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";
mainProgram = "htmlmin";
homepage = "https://pypi.python.org/pypi/htmlmin";
license = licenses.bsd3;
maintainers = [];
};
}