python.pkgs.jsbeautifier: 1.9.1 -> 1.10.0

This commit is contained in:
Robert Schütz 2019-05-03 13:48:59 +02:00
parent 1b816da6c3
commit 15ccf1fe4a

View File

@ -2,25 +2,16 @@
buildPythonApplication rec {
pname = "jsbeautifier";
version = "1.9.1";
version = "1.10.0";
propagatedBuildInputs = [ six EditorConfig ];
checkInputs = [ pytest ];
src = fetchPypi {
inherit pname version;
sha256 = "0q8ld072dkccssagjxyvc9633fb6ynflvz70924phgp3zxmim960";
sha256 = "1e389572ade865173605471e98df4002f4b6e5235121c13f1e4497a3eac69108";
};
patches = [
(fetchpatch {
url = "https://github.com/beautify-web/js-beautify/commit/78e35a11cbb805fc044241d6465800ee2bd57ebc.patch";
sha256 = "1ah7nshk96yljy37i20v4fga834dix9cdbhkdc3flfm4904n4523";
})
];
patchFlags = [ "-p2" ];
meta = with lib; {
homepage = "http://jsbeautifier.org";
description = "JavaScript unobfuscator and beautifier.";