2018-06-23 14:27:58 +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";
|
2019-01-17 15:13:01 +00:00
|
|
|
version = "1.8.9";
|
2017-05-21 08:50:14 +01:00
|
|
|
|
2017-05-27 10:25:35 +01:00
|
|
|
propagatedBuildInputs = [ six ];
|
2017-05-21 08:50:14 +01:00
|
|
|
|
2017-05-27 10:25:35 +01:00
|
|
|
buildInputs = [ EditorConfig pytest ];
|
2017-05-21 08:50:14 +01:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-17 15:13:01 +00:00
|
|
|
sha256 = "7d02baa9b0459bf9c5407c1b99ad5566de04a3b664b18a58ac64f52832034204";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|