2017-05-21 07:50:14 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonApplication, EditorConfig, pytest, six }:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
2017-05-27 09:25:35 +00:00
|
|
|
pname = "jsbeautifier";
|
|
|
|
version = "1.6.14";
|
|
|
|
name = "jsbeautifier-1.6.14";
|
2017-05-21 07:50:14 +00:00
|
|
|
|
2017-05-27 09:25:35 +00:00
|
|
|
propagatedBuildInputs = [ six ];
|
2017-05-21 07:50:14 +00:00
|
|
|
|
2017-05-27 09:25:35 +00:00
|
|
|
buildInputs = [ EditorConfig pytest ];
|
2017-05-21 07:50:14 +00:00
|
|
|
|
2017-05-27 09:25:35 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/j/jsbeautifier/${name}.tar.gz";
|
|
|
|
sha256 = "50b2af556aa1da7283a6a92eaa699668312cb91f2ba6b78a4422b1d42af964a2";
|
|
|
|
};
|
2017-05-21 07:50:14 +00:00
|
|
|
|
2017-05-27 09:25:35 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "http://jsbeautifier.org";
|
|
|
|
description = "JavaScript unobfuscator and beautifier.";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ apeyroux ];
|
|
|
|
};
|
|
|
|
}
|