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";
|
2017-12-30 11:23:47 +00:00
|
|
|
version = "1.7.5";
|
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;
|
2017-12-30 11:23:47 +00:00
|
|
|
sha256 = "78eb1e5c8535484f0d0b588aca38da3fb5e0e34de2d1ab53c077e71c55757473";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|