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