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