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