1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools
5, jsbeautifier
6}:
7
8buildPythonPackage rec {
9 pname = "cssbeautifier";
10 version = "1.14.9";
11 format = "pyproject";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-LaQyRy9oFw64VK/5exaiRyH1CQ7javLjEZlZConn9x8=";
16 };
17
18 nativeBuildInputs = [
19 setuptools
20 ];
21
22 propagatedBuildInputs = [ jsbeautifier ];
23
24 # has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "cssbeautifier" ];
28
29 meta = with lib; {
30 description = "CSS unobfuscator and beautifier";
31 homepage = "https://pypi.org/project/cssbeautifier/";
32 license = licenses.mit;
33 maintainers = with maintainers; [ traxys ];
34 };
35}