Skip to content

Commit f1edefe

Browse files
apeyrouxMic92
authored andcommittedMay 21, 2017
jsbeautifier: 1.6.4 -> 1.6.14 (#25947)
* jsbeautifier: 1.6.4 -> 1.6.14 * pythonPackages.jsbeautifier: move to python-modules
1 parent 7d97051 commit f1edefe

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{ stdenv, fetchurl, buildPythonApplication, EditorConfig, pytest, six }:
2+
3+
buildPythonApplication rec {
4+
name = "jsbeautifier-1.6.14";
5+
6+
propagatedBuildInputs = [ six ];
7+
8+
buildInputs = [ EditorConfig pytest ];
9+
10+
src = fetchurl {
11+
url = "mirror://pypi/j/jsbeautifier/${name}.tar.gz";
12+
sha256 = "50b2af556aa1da7283a6a92eaa699668312cb91f2ba6b78a4422b1d42af964a2";
13+
};
14+
15+
meta = with stdenv.lib; {
16+
homepage = "http://jsbeautifier.org";
17+
description = "JavaScript unobfuscator and beautifier.";
18+
license = licenses.mit;
19+
maintainers = with maintainers; [ apeyroux ];
20+
};
21+
}

‎pkgs/top-level/python-packages.nix

+1-19
Original file line numberDiff line numberDiff line change
@@ -7643,25 +7643,7 @@ in {
76437643
};
76447644
};
76457645

7646-
jsbeautifier = buildPythonApplication rec {
7647-
name = "jsbeautifier-1.6.4";
7648-
7649-
propagatedBuildInputs = with self; [ six ];
7650-
7651-
buildInputs = with self; [ EditorConfig pytest six ];
7652-
7653-
src = pkgs.fetchurl {
7654-
url = "mirror://pypi/j/jsbeautifier/${name}.tar.gz";
7655-
sha256 = "074n8f4ncz5pf0jkkf6i6by30qnaj5208sszaf9p86kgdigcdaf8";
7656-
};
7657-
7658-
meta = {
7659-
homepage = "http://jsbeautifier.org";
7660-
description = "JavaScript unobfuscator and beautifier.";
7661-
license = stdenv.lib.licenses.mit;
7662-
maintainers = with maintainers; [ apeyroux ];
7663-
};
7664-
};
7646+
jsbeautifier = callPackage ../development/python-modules/jsbeautifier {};
76657647

76667648
jug = buildPythonPackage rec {
76677649
version = "1.4.0";

0 commit comments

Comments
 (0)