2013-11-30 16:16:55 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, autoreconfHook, python
|
2013-12-02 21:01:24 +00:00
|
|
|
, dbus_glib, cairo, spidermonkey_185, gobjectIntrospection
|
|
|
|
}:
|
2013-11-30 08:57:30 +00:00
|
|
|
|
2013-12-02 21:01:24 +00:00
|
|
|
let
|
2013-11-30 08:57:30 +00:00
|
|
|
version="2.0.0";
|
2013-12-02 21:01:24 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cjs-${version}";
|
2013-11-30 08:57:30 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://github.com/linuxmint/cjs/archive/${version}.tar.gz";
|
|
|
|
sha256 = "16iazd5h2z27v9jxs4a8imwls5c1c690wk7i05r5ds3c3r4nrsig";
|
|
|
|
};
|
|
|
|
|
2013-11-30 16:16:55 +00:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig autoreconfHook python
|
|
|
|
dbus_glib cairo spidermonkey_185
|
2013-11-30 19:33:46 +00:00
|
|
|
gobjectIntrospection
|
2013-11-30 08:57:30 +00:00
|
|
|
];
|
|
|
|
|
2013-11-30 16:16:55 +00:00
|
|
|
preBuild = "patchShebangs ./scripts";
|
|
|
|
|
2013-11-30 08:57:30 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://cinnamon.linuxmint.com";
|
2013-11-30 16:16:55 +00:00
|
|
|
description = "JavaScript bindings for Cinnamon" ;
|
|
|
|
|
2013-11-30 08:57:30 +00:00
|
|
|
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
|
2013-11-30 16:16:55 +00:00
|
|
|
in doc/Style_Guide.txt to help keep things sane.
|
2013-11-30 08:57:30 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.roelof ];
|
|
|
|
};
|
2013-12-02 21:01:24 +00:00
|
|
|
}
|