summary refs log tree commit diff
path: root/pkgs/desktops/cinnamon/cjs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/cinnamon/cjs/default.nix')
-rw-r--r--pkgs/desktops/cinnamon/cjs/default.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/desktops/cinnamon/cjs/default.nix b/pkgs/desktops/cinnamon/cjs/default.nix
new file mode 100644
index 000000000000..3b55ae80bb7a
--- /dev/null
+++ b/pkgs/desktops/cinnamon/cjs/default.nix
@@ -0,0 +1,39 @@
+{ stdenv, autoreconfHook, fetchurl }:
+
+stdenv.mkDerivation rec {
+  name = "cjs";
+  version="2.0.0";
+
+  src = fetchurl {
+    url = "http://github.com/linuxmint/cjs/archive/${version}.tar.gz";
+    sha256 = "16iazd5h2z27v9jxs4a8imwls5c1c690wk7i05r5ds3c3r4nrsig";
+  };
+
+  buildInputs = [ autoreconfHook ];
+  
+  patches = [./fix_configure_ac_gobject.patch]; 
+  
+  configureFlags = [
+    "--disable-static"
+  ];
+
+  meta = {
+    homepage = "http://cinnamon.linuxmint.com";
+    description = " This module contains JavaScript bindings based on gobject-introspection." ;
+   
+    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 ];
+  };
+}
+
+