mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05:13 +00:00
f8c7e340a4
The current version (v1.10.4) is now called "legacy". The new stable version has a different directory layout; it no longer splits css/ and js/ directories. Since the *.js files refer to the *.css files by relative paths, I'm not splitting them. Everything now goes to "$out/js/". Also, upstream removed version numbers from filenames, so we don't need to create those version-less symlinks anymore.
25 lines
517 B
Nix
25 lines
517 B
Nix
{ stdenv, fetchurl, unzip }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "jquery-ui-1.11.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://jqueryui.com/resources/download/${name}.zip";
|
|
sha256 = "05dlcfwklymx94fb4n88l5syf80l6zrs862zzmla477vd8ndk537";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|