Merge pull request #58632 from apeyroux/up-jsbeautifier-191
pythonPackages.jsbeautifier: 1.8.9 -> 1.9.1
This commit is contained in:
commit
fb3fcca35f
@ -1,18 +1,26 @@
|
|||||||
{ lib, fetchPypi, buildPythonApplication, EditorConfig, pytest, six }:
|
{ lib, fetchPypi, buildPythonApplication, EditorConfig, fetchpatch, pytest, six }:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "jsbeautifier";
|
pname = "jsbeautifier";
|
||||||
version = "1.8.9";
|
version = "1.9.1";
|
||||||
|
|
||||||
propagatedBuildInputs = [ six ];
|
propagatedBuildInputs = [ six EditorConfig ];
|
||||||
|
checkInputs = [ pytest ];
|
||||||
buildInputs = [ EditorConfig pytest ];
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "7d02baa9b0459bf9c5407c1b99ad5566de04a3b664b18a58ac64f52832034204";
|
sha256 = "0q8ld072dkccssagjxyvc9633fb6ynflvz70924phgp3zxmim960";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/beautify-web/js-beautify/commit/78e35a11cbb805fc044241d6465800ee2bd57ebc.patch";
|
||||||
|
sha256 = "1ah7nshk96yljy37i20v4fga834dix9cdbhkdc3flfm4904n4523";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
patchFlags = [ "-p2" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://jsbeautifier.org";
|
homepage = "http://jsbeautifier.org";
|
||||||
description = "JavaScript unobfuscator and beautifier.";
|
description = "JavaScript unobfuscator and beautifier.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user