Merge pull request #35844 from adisbladis/jquery-mv
jquery & jquery-ui: Move to nixos/lib/testing/
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jquery-ui-1.11.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://jqueryui.com/resources/download/${name}.zip";
|
||||
sha256 = "0ciyaj1acg08g8hpzqx6whayq206fvf4whksz2pjgxlv207lqgjh";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p "$out/js"
|
||||
cp -rv . "$out/js"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://jqueryui.com/;
|
||||
description = "A library of JavaScript widgets and effects";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
{ stdenv, fetchurl, compressed ? true }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jquery-1.11.3";
|
||||
|
||||
src = if compressed then
|
||||
fetchurl {
|
||||
url = "http://code.jquery.com/${name}.min.js";
|
||||
sha256 = "1f4glgxxn3jnvry3dpzmazj3207baacnap5w20gr2xlk789idfgc";
|
||||
}
|
||||
else
|
||||
fetchurl {
|
||||
url = "http://code.jquery.com/${name}.js";
|
||||
sha256 = "1v956yf5spw0156rni5z77hzqwmby7ajwdcd6mkhb6zvl36awr90";
|
||||
};
|
||||
|
||||
unpackPhase = "true";
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p "$out/js"
|
||||
cp -v "$src" "$out/js/jquery.js"
|
||||
${optionalString compressed ''
|
||||
(cd "$out/js" && ln -s jquery.js jquery.min.js)
|
||||
''}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "JavaScript library designed to simplify the client-side scripting of HTML";
|
||||
homepage = http://jquery.com/;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -104,7 +104,6 @@ mapAliases (rec {
|
||||
inotifyTools = inotify-tools;
|
||||
joseki = apache-jena-fuseki; # added 2016-02-28
|
||||
json_glib = json-glib; # added 2018-02-25
|
||||
jquery_ui = jquery-ui; # added 2014-09-07
|
||||
kdiff3-qt5 = kdiff3; # added 2017-02-18
|
||||
keepassx2-http = keepassx-reboot; # added 2016-10-17
|
||||
keepassx-reboot = keepassx-community; # added 2017-02-01
|
||||
|
||||
@@ -11935,10 +11935,6 @@ with pkgs;
|
||||
|
||||
### DEVELOPMENT / LIBRARIES / JAVASCRIPT
|
||||
|
||||
jquery = callPackage ../development/libraries/javascript/jquery { };
|
||||
|
||||
jquery-ui = callPackage ../development/libraries/javascript/jquery-ui { };
|
||||
|
||||
yuicompressor = callPackage ../development/tools/yuicompressor { };
|
||||
|
||||
### DEVELOPMENT / BOWER MODULES (JAVASCRIPT)
|
||||
|
||||
Reference in New Issue
Block a user