1{ 2 lib, 3 buildPythonPackage, 4 editorconfig, 5 fetchPypi, 6 jsbeautifier, 7 pythonOlder, 8 setuptools, 9 six, 10}: 11 12buildPythonPackage rec { 13 pname = "cssbeautifier"; 14 version = "1.15.4"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-m7CNw/ZMEBoBZ38Sis8BkFkUz0Brr4dDTc3gW3TArPU="; 22 }; 23 24 nativeBuildInputs = [ setuptools ]; 25 26 propagatedBuildInputs = [ 27 editorconfig 28 jsbeautifier 29 six 30 ]; 31 32 # Module has no tests 33 doCheck = false; 34 35 pythonImportsCheck = [ "cssbeautifier" ]; 36 37 meta = with lib; { 38 description = "CSS unobfuscator and beautifier"; 39 mainProgram = "css-beautify"; 40 homepage = "https://github.com/beautifier/js-beautify"; 41 changelog = "https://github.com/beautifier/js-beautify/blob/v${version}/CHANGELOG.md"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ traxys ]; 44 }; 45}