summaryrefslogtreecommitdiffstats
path: root/pkgs/desktops/cinnamon
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2013-11-30 22:47:57 +0100
committerVladimír Čunát <vcunat@gmail.com>2013-11-30 22:54:10 +0100
commit1e0865ce627edf34d5c2ce86b475d4882d978597 (patch)
treee4d693676f930024ced37542d2a37b47b80dcb0d /pkgs/desktops/cinnamon
parent796a60613e511467620990cdc65c498edf791083 (diff)
parent808603852a24e82a6cfc1e8c15d0b1469a30a7b5 (diff)
merge #1309: add cjs -- JavaScript bindings for cinnamon
I also fixed whitespace around.
Diffstat (limited to 'pkgs/desktops/cinnamon')
-rw-r--r--pkgs/desktops/cinnamon/cjs.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/desktops/cinnamon/cjs.nix b/pkgs/desktops/cinnamon/cjs.nix
new file mode 100644
index 000000000000..63edc07a7a68
--- /dev/null
+++ b/pkgs/desktops/cinnamon/cjs.nix
@@ -0,0 +1,37 @@
+{ stdenv, fetchurl, pkgconfig, autoreconfHook, python
+, dbus_glib, cairo, spidermonkey_185, gobjectIntrospection}:
+
+stdenv.mkDerivation rec {
+ name = "cjs";
+ version="2.0.0";
+
+ src = fetchurl {
+ url = "http://github.com/linuxmint/cjs/archive/${version}.tar.gz";
+ sha256 = "16iazd5h2z27v9jxs4a8imwls5c1c690wk7i05r5ds3c3r4nrsig";
+ };
+
+ buildInputs = [
+ pkgconfig autoreconfHook python
+ dbus_glib cairo spidermonkey_185
+ gobjectIntrospection
+ ];
+
+ preBuild = "patchShebangs ./scripts";
+
+ meta = {
+ homepage = "http://cinnamon.linuxmint.com";
+ description = "JavaScript bindings for Cinnamon" ;
+
+ longDescription = ''
+ This module contains JavaScript bindings based on gobject-introspection.
+
+ Because JavaScript is pretty free-form, consistent coding style and unit tests
+ are critical to give it some structure and keep it readable.
+ We propose that all GNOME usage of JavaScript conform to the style guide
+ in doc/Style_Guide.txt to help keep things sane.
+ '';
+
+ platforms = stdenv.lib.platforms.linux;
+ maintainers = [ stdenv.lib.maintainers.roelof ];
+ };
+} \ No newline at end of file