about summary refs log tree commit diff
path: root/pkgs/development/python-modules/htmlmin/default.nix
blob: fd19103e41aceb7884e13fb210a7e4ab2c0e37b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  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 = [ ];
  };
}