1{ lib, stdenv, fetchurl, unzip, ... }:
2
3stdenv.mkDerivation rec {
4 pname = "scriptaculous";
5 version = "1.9.0";
6
7 src = fetchurl {
8 url = "https://script.aculo.us/dist/scriptaculous-js-${version}.zip";
9 sha256 = "1xpnk3cq8n07lxd69k5jxh48s21zh41ihq10z4a6lcnk238rp8qz";
10 };
11
12 nativeBuildInputs = [ unzip ];
13
14 installPhase = ''
15 mkdir $out
16 cp src/*.js $out
17 '';
18
19 meta = with lib; {
20 description = "A set of JavaScript libraries to enhance the user interface of web sites";
21 longDescription = ''
22 script.aculo.us provides you with
23 easy-to-use, cross-browser user
24 interface JavaScript libraries to make
25 your web sites and web applications fly.
26 '';
27 homepage = "https://script.aculo.us/";
28 downloadPage = "https://script.aculo.us/dist/";
29 license = licenses.mit;
30 maintainers = with maintainers; [ das_j ];
31 };
32}