2017-10-04 23:50:14 +02:00
|
|
|
{ stdenv, gettext, fetchurl, pkgconfig, udisks2, libsecret, libdvdread
|
|
|
|
, meson, ninja, gtk, glib, wrapGAppsHook, libnotify
|
|
|
|
, itstool, gnome3, gdk_pixbuf, libxml2
|
|
|
|
, libcanberra_gtk3, libxslt, docbook_xsl, libpwquality }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
|
|
|
|
2017-10-04 23:50:14 +02:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext itstool libxslt docbook_xsl
|
|
|
|
wrapGAppsHook libxml2 ];
|
|
|
|
buildInputs = [ gtk glib libsecret libpwquality libnotify libdvdread libcanberra_gtk3
|
|
|
|
gdk_pixbuf udisks2 gnome3.defaultIconTheme
|
|
|
|
gnome3.gnome_settings_daemon gnome3.gsettings_desktop_schemas ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson_post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs meson_post_install.py
|
|
|
|
'';
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-02 23:50:51 +02:00
|
|
|
homepage = https://en.wikipedia.org/wiki/GNOME_Disks;
|
2016-09-18 21:35:23 +02:00
|
|
|
description = "A udisks graphical front-end";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|