2019-09-06 14:59:23 +02:00
|
|
|
{ lib, fetchPypi, buildPythonApplication, editorconfig, pytest, six }:
|
2017-05-21 09:50:14 +02:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
2017-05-27 11:25:35 +02:00
|
|
|
pname = "jsbeautifier";
|
2020-10-16 10:49:22 +02:00
|
|
|
version = "1.13.0";
|
2017-05-21 09:50:14 +02:00
|
|
|
|
2019-09-06 14:59:23 +02:00
|
|
|
propagatedBuildInputs = [ six editorconfig ];
|
2019-04-05 22:02:01 +02:00
|
|
|
checkInputs = [ pytest ];
|
2017-05-21 09:50:14 +02:00
|
|
|
|
2018-06-23 15:27:58 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-16 10:49:22 +02:00
|
|
|
sha256 = "f5565fbcd95f79945e124324815e586ae0d2e43df5af82a4400390e6ea789e8b";
|
2017-05-27 11:25:35 +02:00
|
|
|
};
|
2017-05-21 09:50:14 +02:00
|
|
|
|
2018-06-23 15:27:58 +02:00
|
|
|
meta = with lib; {
|
2017-05-27 11:25:35 +02:00
|
|
|
homepage = "http://jsbeautifier.org";
|
|
|
|
description = "JavaScript unobfuscator and beautifier.";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ apeyroux ];
|
|
|
|
};
|
|
|
|
}
|