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";
|
2019-10-16 11:43:08 +02:00
|
|
|
version = "1.10.2";
|
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;
|
2019-10-16 11:43:08 +02:00
|
|
|
sha256 = "a5ce5195c0b54a68eb813649829143373823ca28caa4d7aa682442b87ebea1ce";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|