mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
b7ec621e91
These (outdated) derivations are only used by nixos/lib/testing.nix. If we want to provide jquery & jquery-ui packages this is better done in nodePackages.
25 lines
517 B
Nix
25 lines
517 B
Nix
{ 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;
|
|
};
|
|
}
|