1{ lib, fetchPypi, buildPythonApplication, EditorConfig, pytest, six }:
2
3buildPythonApplication rec {
4 pname = "jsbeautifier";
5 version = "1.7.5";
6
7 propagatedBuildInputs = [ six ];
8
9 buildInputs = [ EditorConfig pytest ];
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "78eb1e5c8535484f0d0b588aca38da3fb5e0e34de2d1ab53c077e71c55757473";
14 };
15
16 meta = with lib; {
17 homepage = "http://jsbeautifier.org";
18 description = "JavaScript unobfuscator and beautifier.";
19 license = licenses.mit;
20 maintainers = with maintainers; [ apeyroux ];
21 };
22}