Something went wrong. Try again.
lol
Something went wrong. Try again.
854 B · 39 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, fetchPypi, buildPythonPackage, editorconfig, pytestCheckHook, six,}:
buildPythonPackage rec { pname = "jsbeautifier"; version = "1.15.4"; format = "setuptools";
src = fetchPypi { inherit pname version; hash = "sha256-W7GNnvuTMdglc1+8U2DujxqsXlJ4AEKAOUOqf4VPdZI="; };
propagatedBuildInputs = [ editorconfig six ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "jsbeautifier" ];
enabledTestPaths = [ "jsbeautifier/tests/testindentation.py" ];
meta = { description = "JavaScript unobfuscator and beautifier"; mainProgram = "js-beautify"; homepage = "http://jsbeautifier.org"; changelog = "https://github.com/beautify-web/js-beautify/blob/v${version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ apeyroux ]; };}