nixpkgs/pkgs/desktops/cinnamon/muffin.nix
Domen Kožar 9b7b2ce8eb Revert "Introduce patchShebangsPhase ran in preConfigurePhases"
This reverts commit 512fbb280f72980e84230b72b631258df1755919.

See #5368
2015-01-08 10:26:49 +01:00

48 lines
1.1 KiB
Nix

{ 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;
};
}