Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
904 B · 42 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, fetchPypi, buildPythonPackage, editorconfig, pytestCheckHook, pythonOlder, six,}:
buildPythonPackage rec { pname = "jsbeautifier"; version = "1.15.4"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-W7GNnvuTMdglc1+8U2DujxqsXlJ4AEKAOUOqf4VPdZI="; };
propagatedBuildInputs = [ editorconfig six ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "jsbeautifier" ];
enabledTestPaths = [ "jsbeautifier/tests/testindentation.py" ];
meta = with lib; { 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 = licenses.mit; maintainers = with maintainers; [ apeyroux ]; };}