Skip to content

Commit

Permalink
scriptaculous: Init at 1.9.0 (#44429)
Browse files Browse the repository at this point in the history
  • Loading branch information
dasJ authored and xeji committed Aug 4, 2018
1 parent dc02a28 commit 558c032
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/development/libraries/scriptaculous/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ stdenv, fetchurl, unzip, ... }: stdenv.mkDerivation rec {
name = "scriptaculous-${version}";
version = "1.9.0";

src = fetchurl {
url = "https://script.aculo.us/dist/scriptaculous-js-${version}.zip";
sha256 = "1xpnk3cq8n07lxd69k5jxh48s21zh41ihq10z4a6lcnk238rp8qz";
};

nativeBuildInputs = [ unzip ];

installPhase = ''
mkdir $out
cp src/*.js $out
'';

meta = with stdenv.lib; {
description = "A set of JavaScript libraries to enhance the user interface of web sites";
longDescription = ''
script.aculo.us provides you with
easy-to-use, cross-browser user
interface JavaScript libraries to make
your web sites and web applications fly.
'';
homepage = https://script.aculo.us/;
downloadPage = https://script.aculo.us/dist/;
license = licenses.mit;
maintainers = with maintainers; [ das_j ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5050,6 +5050,8 @@ with pkgs;

scfbuild = python2.pkgs.callPackage ../tools/misc/scfbuild { };

scriptaculous = callPackage ../development/libraries/scriptaculous { };

scrot = callPackage ../tools/graphics/scrot { };

scrypt = callPackage ../tools/security/scrypt { };
Expand Down

0 comments on commit 558c032

Please sign in to comment.