-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
/
default.nix
44 lines (37 loc) · 869 Bytes
/
default.nix
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";
};
}