about summary refs log tree commit diff
path: root/pkgs/desktops/cinnamon/muffin.nix
blob: a1fd6b97ac1694b14f949a848bbe0522718d671b (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
43
44
45
46
47
{ stdenv, fetchurl, pkgconfig, autoreconfHook, glib, gettext, gnome_common, gtk3,intltool,
cinnamon-desktop, clutter, cogl, zenity, python, gnome_doc_utils, makeWrapper}:

let
  version = "2.0.5";
in
stdenv.mkDerivation {
  name = "muffin-${version}";

  src = fetchurl {
    url = "http://github.com/linuxmint/muffin/archive/${version}.tar.gz";
    sha256 = "1vn7shxwyxsa6dd3zldrnc0095i1y0rq0944n8kak3m85r2pv9c1";
  };


  configureFlags = "--enable-compile-warnings=minium" ;

  patches = [./gtkdoc.patch];

  buildInputs = [
    pkgconfig autoreconfHook
    glib gettext gnome_common
    gtk3 intltool cinnamon-desktop
    clutter cogl zenity python
    gnome_doc_utils makeWrapper];

  preBuild = "patchShebangs ./scripts";


  postFixup  = ''

    for f in "$out/bin/"*; do
      wrapProgram "$f" --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
    done
  '';

  meta = {
    homepage = "http://cinnamon.linuxmint.com";
    description = "The cinnamon session files" ;

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

    broken = true;
  };
}