mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
34eb56e16b
Close #10867. It means that settings couldn't be saved. The issue appeared since upgrade to nixos 15.09 and fall as part of #4415. Tested on nixos. - No longer has a stderr when running the application. - Settings are effectively saved.
35 lines
951 B
Nix
35 lines
951 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util
|
|
, gtk, gtksourceview, dbus, dbus_glib, makeWrapper
|
|
, dconf }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
p_name = "mousepad";
|
|
ver_maj = "0.4";
|
|
ver_min = "0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
|
|
sha256 = "60114431eac8db6bb6ce18bd38f1630cccb684375b97a445a1b6fd619848d132";
|
|
};
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
|
|
|
buildInputs =
|
|
[ pkgconfig intltool libxfce4util
|
|
gtk gtksourceview dbus dbus_glib makeWrapper
|
|
dconf
|
|
];
|
|
|
|
preFixup = ''
|
|
wrapProgram "$out/bin/mousepad" \
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:${gtksourceview}/share" \
|
|
--prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules"
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://www.xfce.org/;
|
|
description = "A simple text editor for Xfce";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|