mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
jquery-ui: Update to 1.10.3
Also add a symlink jquery.js (jquery.min.js is gone).
This commit is contained in:
parent
a0c5ff6571
commit
672ae93687
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jquery-ui-1.10.2";
|
||||
name = "jquery-ui-1.10.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://jqueryui.com/resources/download/${name}.custom.zip";
|
||||
sha256 = "0r1fmqpym7bjqhjay9br4h3izky781bsda7v7552yjwkgiv391hl";
|
||||
sha256 = "1nqh3fmjgy73cbwb5sj775242i6jhz3f5b9fxgrkq00dfvkls779";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
@ -17,9 +17,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# For convenience, provide symlinks "jquery.min.js" etc. (i.e.,
|
||||
# without the version number).
|
||||
ln -s $out/js/jquery-ui-*.custom.min.js $out/js/jquery-ui.min.js
|
||||
ln -s $out/js/jquery-1.*.min.js $out/js/jquery.min.js
|
||||
ln -s $out/css/smoothness/jquery-ui-*.custom.css $out/css/smoothness/jquery-ui.css
|
||||
pushd $out/js
|
||||
ln -s jquery-ui-*.custom.js jquery-ui.js
|
||||
ln -s jquery-ui-*.custom.min.js jquery-ui.min.js
|
||||
ln -s jquery-1.*.js jquery.js
|
||||
popd
|
||||
pushd $out/css/smoothness
|
||||
ln -s jquery-ui-*.custom.css jquery-ui.css
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user