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