From 78ec7972151e809cf2610ef80484f91c96ed53b8 Mon Sep 17 00:00:00 2001 From: Alexandre Peyroux Date: Mon, 3 Oct 2016 20:18:12 +0200 Subject: [PATCH 1/3] jsbeautifier: init 1.6.4 --- pkgs/top-level/python-packages.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e6fcbb6b3b1..be9352fb65d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7415,6 +7415,25 @@ in modules // { }; }; + jsbeautifier = buildPythonApplication rec { + name = "jsbeautifier-1.6.4"; + + propagatedBuildInputs = with self; [ six ]; + + buildInputs = with self; [ EditorConfig pytest six ]; + + src = pkgs.fetchurl { + url = "mirror://pypi/j/jsbeautifier/${name}.tar.gz"; + sha256 = "074n8f4ncz5pf0jkkf6i6by30qnaj5208sszaf9p86kgdigcdaf8"; + }; + + meta = { + homepage = "http://jsbeautifier.org"; + description = "JavaScript unobfuscator and beautifier."; + license = stdenv.lib.licenses.mit; + }; + }; + jsonpatch = buildPythonPackage rec { name = "jsonpatch-1.11"; From c072feb377bbf77dba9ecb7089ec6d5ff1fd3f07 Mon Sep 17 00:00:00 2001 From: Alexandre Peyroux Date: Mon, 3 Oct 2016 20:22:39 +0200 Subject: [PATCH 2/3] jsbeautifier: fix alphabetical order --- pkgs/top-level/python-packages.nix | 38 +++++++++++++++--------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index be9352fb65d..bdc3c479e4f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7390,6 +7390,25 @@ in modules // { }; }; + jsbeautifier = buildPythonApplication rec { + name = "jsbeautifier-1.6.4"; + + propagatedBuildInputs = with self; [ six ]; + + buildInputs = with self; [ EditorConfig pytest six ]; + + src = pkgs.fetchurl { + url = "mirror://pypi/j/jsbeautifier/${name}.tar.gz"; + sha256 = "074n8f4ncz5pf0jkkf6i6by30qnaj5208sszaf9p86kgdigcdaf8"; + }; + + meta = { + homepage = "http://jsbeautifier.org"; + description = "JavaScript unobfuscator and beautifier."; + license = stdenv.lib.licenses.mit; + }; + }; + jug = buildPythonPackage rec { version = "1.2.2"; name = "jug-${version}"; @@ -7415,25 +7434,6 @@ in modules // { }; }; - jsbeautifier = buildPythonApplication rec { - name = "jsbeautifier-1.6.4"; - - propagatedBuildInputs = with self; [ six ]; - - buildInputs = with self; [ EditorConfig pytest six ]; - - src = pkgs.fetchurl { - url = "mirror://pypi/j/jsbeautifier/${name}.tar.gz"; - sha256 = "074n8f4ncz5pf0jkkf6i6by30qnaj5208sszaf9p86kgdigcdaf8"; - }; - - meta = { - homepage = "http://jsbeautifier.org"; - description = "JavaScript unobfuscator and beautifier."; - license = stdenv.lib.licenses.mit; - }; - }; - jsonpatch = buildPythonPackage rec { name = "jsonpatch-1.11"; From 3298c13d524087d77452702f53e6d384f3c3323d Mon Sep 17 00:00:00 2001 From: Alexandre Peyroux Date: Mon, 3 Oct 2016 20:35:14 +0200 Subject: [PATCH 3/3] jsbeautifier: add maintainer --- pkgs/top-level/python-packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bdc3c479e4f..84cdf0bc047 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7406,6 +7406,7 @@ in modules // { homepage = "http://jsbeautifier.org"; description = "JavaScript unobfuscator and beautifier."; license = stdenv.lib.licenses.mit; + maintainers = with maintainers; [ apeyroux ]; }; };