Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scriptaculous: Init at 1.9.0 #44429

Merged
merged 1 commit into from
Aug 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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