mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
* Added jQuery UI.
svn path=/nixpkgs/trunk/; revision=25465
This commit is contained in:
parent
ed3ce17ce1
commit
475ae50c70
31
pkgs/development/libraries/javascript/jquery-ui/default.nix
Normal file
31
pkgs/development/libraries/javascript/jquery-ui/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ stdenv, fetchurl, unzip }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "jquery-ui-1.8.7";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://jqueryui.com/download/${name}.custom.zip";
|
||||||
|
sha256 = "17j6cmzri6gkrhp4qfnr73sql8qiyxzadrii4ljj62i6vhkb1x2i";
|
||||||
|
};
|
||||||
|
|
||||||
|
sourceRoot = ".";
|
||||||
|
|
||||||
|
buildInputs = [ unzip ];
|
||||||
|
|
||||||
|
installPhase =
|
||||||
|
''
|
||||||
|
mkdir -p $out
|
||||||
|
cp -prvd css js $out/
|
||||||
|
|
||||||
|
# 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
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://jqueryui.com/;
|
||||||
|
description = "A library of JavaScript widgets and effects";
|
||||||
|
};
|
||||||
|
}
|
|
@ -4229,6 +4229,11 @@ let
|
||||||
zziplib = callPackage ../development/libraries/zziplib { };
|
zziplib = callPackage ../development/libraries/zziplib { };
|
||||||
|
|
||||||
|
|
||||||
|
### DEVELOPMENT / LIBRARIES / JAVASCRIPT
|
||||||
|
|
||||||
|
jquery_ui = callPackage ../development/libraries/javascript/jquery-ui { };
|
||||||
|
|
||||||
|
|
||||||
### DEVELOPMENT / PERL MODULES
|
### DEVELOPMENT / PERL MODULES
|
||||||
|
|
||||||
buildPerlPackage = import ../development/perl-modules/generic perl;
|
buildPerlPackage = import ../development/perl-modules/generic perl;
|
||||||
|
|
Loading…
Reference in a new issue