summary refs log tree commit diff
path: root/pkgs/desktops/cinnamon/cjs.nix
blob: 6c10340a8f9e0250a39a579e5ad2cc68b4b9ed22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ stdenv, fetchurl, pkgconfig, autoreconfHook, python
, dbus_glib, cairo, spidermonkey_185, gobjectIntrospection
}:

let
  version="2.0.0";
in
stdenv.mkDerivation rec {
  name = "cjs-${version}";

  src = fetchurl {
    url = "http://github.com/linuxmint/cjs/archive/${version}.tar.gz";
    sha256 = "16iazd5h2z27v9jxs4a8imwls5c1c690wk7i05r5ds3c3r4nrsig";
  };

  buildInputs = [
    pkgconfig autoreconfHook python
    dbus_glib cairo spidermonkey_185
    gobjectIntrospection
  ];

  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 ];

    broken = true;
  };
}