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