mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
merge #1309: add cjs -- JavaScript bindings for cinnamon
I also fixed whitespace around.
This commit is contained in:
commit
1e0865ce62
2 changed files with 41 additions and 0 deletions
37
pkgs/desktops/cinnamon/cjs.nix
Normal file
37
pkgs/desktops/cinnamon/cjs.nix
Normal file
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -9524,6 +9524,10 @@ let
|
||||||
|
|
||||||
### DESKTOP ENVIRONMENTS
|
### DESKTOP ENVIRONMENTS
|
||||||
|
|
||||||
|
cinnamon = recurseIntoAttrs {
|
||||||
|
cjs = callPackage ../desktops/cinnamon/cjs.nix { };
|
||||||
|
};
|
||||||
|
|
||||||
enlightenment = callPackage ../desktops/enlightenment { };
|
enlightenment = callPackage ../desktops/enlightenment { };
|
||||||
|
|
||||||
e17 = recurseIntoAttrs (
|
e17 = recurseIntoAttrs (
|
||||||
|
|
Loading…
Reference in a new issue