about summary refs log tree commit diff
path: root/pkgs/desktops/cinnamon/cinnamon-desktop.nix
blob: 8ead149fc2b165dbdd9ab3f248619ff383a0c7a1 (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
41
42
{ stdenv, fetchurl, pkgconfig, autoreconfHook, intltool
, glib, gobjectIntrospection, gdk_pixbuf, gtk3, gnome_common
, xorg, xkeyboard_config
}:

let
  version = "2.0.4";
in
stdenv.mkDerivation {
  name = "cinnamon-desktop-${version}";

  src = fetchurl {
    url = "http://github.com/linuxmint/cinnamon-desktop/archive/${version}.tar.gz";
    sha256 = "1cywin712558pv58c0cr73m25hfcv5x8pv5frvqjr9gwr2gpi6h3";
  };

  NIX_CFLAGS_COMPILE = "-I${glib}/include/gio-unix-2.0";

  buildInputs = with xorg; [
    pkgconfig autoreconfHook intltool
    glib gobjectIntrospection gdk_pixbuf gtk3 gnome_common
    xkeyboard_config libxkbfile libX11 libXrandr libXext
  ];

  meta = {
    homepage = "http://cinnamon.linuxmint.com";
    description = "Library and data for various Cinnamon modules";

    longDescription = ''
       The libcinnamon-desktop library provides API shared by several applications
       on the desktop, but that cannot live in the platform for various
       reasons. There is no API or ABI guarantee, although we are doing our
       best to provide stability. Documentation for the API is available with
       gtk-doc.
    '';

    platforms = stdenv.lib.platforms.linux;
    maintainers = [ stdenv.lib.maintainers.roelof ];

    broken = true;
  };
}