summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/css-html-js-minify/default.nix
blob: df6f74caa5716168127b0105836b862007c8448a (about) (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
  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 = with lib; {
    description = "StandAlone Async cross-platform Minifier for the Web";
    homepage = "https://github.com/juancarlospaco/css-html-js-minify";
    license = with licenses; [
      gpl3Plus
      lgpl3Plus
      mit
    ];
    maintainers = with maintainers; [ FlorianFranzen ];
    mainProgram = "css-html-js-minify";
  };
}