about summary refs log tree commit diff
path: root/pkgs/development/python-modules/jsbeautifier
diff options
context:
space:
mode:
authorAlexandre Peyroux <apeyroux@users.noreply.github.com>2017-05-21 09:50:14 +0200
committerJörg Thalheim <Mic92@users.noreply.github.com>2017-05-21 08:50:14 +0100
commitf1edefed506ec83259579faa83c7c7802b69c72d (patch)
treecbb7c4da2eaa9095bd4e123cadfa644b994b66ab /pkgs/development/python-modules/jsbeautifier
parent7d97051f7212a3d6c5e1209bdc8e6acef3bcfe18 (diff)
downloadnixlib-f1edefed506ec83259579faa83c7c7802b69c72d.tar
nixlib-f1edefed506ec83259579faa83c7c7802b69c72d.tar.gz
nixlib-f1edefed506ec83259579faa83c7c7802b69c72d.tar.bz2
nixlib-f1edefed506ec83259579faa83c7c7802b69c72d.tar.lz
nixlib-f1edefed506ec83259579faa83c7c7802b69c72d.tar.xz
nixlib-f1edefed506ec83259579faa83c7c7802b69c72d.tar.zst
nixlib-f1edefed506ec83259579faa83c7c7802b69c72d.zip
jsbeautifier: 1.6.4 -> 1.6.14 (#25947)
* jsbeautifier: 1.6.4 -> 1.6.14

* pythonPackages.jsbeautifier: move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/jsbeautifier')
-rw-r--r--pkgs/development/python-modules/jsbeautifier/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/jsbeautifier/default.nix b/pkgs/development/python-modules/jsbeautifier/default.nix
new file mode 100644
index 000000000000..fa4ba7bffb5d
--- /dev/null
+++ b/pkgs/development/python-modules/jsbeautifier/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchurl, buildPythonApplication, EditorConfig, pytest, six }:
+
+buildPythonApplication rec {
+    name = "jsbeautifier-1.6.14";
+
+    propagatedBuildInputs = [ six ];
+
+    buildInputs = [ EditorConfig pytest ];
+
+    src = fetchurl {
+      url = "mirror://pypi/j/jsbeautifier/${name}.tar.gz";
+      sha256 = "50b2af556aa1da7283a6a92eaa699668312cb91f2ba6b78a4422b1d42af964a2";
+    };
+
+    meta = with stdenv.lib; {
+      homepage    = "http://jsbeautifier.org";
+      description = "JavaScript unobfuscator and beautifier.";
+      license     = licenses.mit;
+      maintainers = with maintainers; [ apeyroux ];
+    };
+  }