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