summary refs log tree commit diff
path: root/pkgs/development/libraries/prototypejs/default.nix
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2018-08-05 21:24:56 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-08-05 21:24:56 +0200
commit2da02088f7596237ceb84d49a18c8cad52c8efa4 (patch)
tree0d89d80a5f6ea65f5f15bb81368974aa43920cbb /pkgs/development/libraries/prototypejs/default.nix
parentec7865cddc72f8d8940c613283b0a3b2976d7025 (diff)
downloadnixpkgs-2da02088f7596237ceb84d49a18c8cad52c8efa4.tar
nixpkgs-2da02088f7596237ceb84d49a18c8cad52c8efa4.tar.gz
nixpkgs-2da02088f7596237ceb84d49a18c8cad52c8efa4.tar.bz2
nixpkgs-2da02088f7596237ceb84d49a18c8cad52c8efa4.tar.lz
nixpkgs-2da02088f7596237ceb84d49a18c8cad52c8efa4.tar.xz
nixpkgs-2da02088f7596237ceb84d49a18c8cad52c8efa4.tar.zst
nixpkgs-2da02088f7596237ceb84d49a18c8cad52c8efa4.zip
prototypejs: Init at 1.7.3.0 (#44428)
Diffstat (limited to 'pkgs/development/libraries/prototypejs/default.nix')
-rw-r--r--pkgs/development/libraries/prototypejs/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/prototypejs/default.nix b/pkgs/development/libraries/prototypejs/default.nix
new file mode 100644
index 00000000000..a56b14384e5
--- /dev/null
+++ b/pkgs/development/libraries/prototypejs/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, fetchurl, ... }:
+let
+  version = "1.7.3.0";
+in fetchurl {
+  name = "prototype-${version}.js";
+  url = "https://ajax.googleapis.com/ajax/libs/prototype/${version}/prototype.js";
+  sha256 = "0q43vvrsb22h4jvavs1gk3v4ps61yx9k85b5n6q9mxivhmxprg26";
+
+  meta = with stdenv.lib; {
+    description = "A foundation for ambitious web user interfaces";
+    longDescription = ''
+      Prototype takes the complexity out of client-side web
+      programming. Built to solve real-world problems, it adds
+      useful extensions to the browser scripting environment
+      and provides elegant APIs around the clumsy interfaces
+      of Ajax and the Document Object Model.
+    '';
+    homepage = http://prototypejs.org/;
+    downloadPage = http://prototypejs.org/download/;
+    license = licenses.mit;
+    maintainers = with maintainers; [ das_j ];
+  };
+}