2017-10-04 22:50:14 +01:00
|
|
|
{ stdenv, gettext, fetchurl, pkgconfig, udisks2, libsecret, libdvdread
|
2018-09-03 21:16:26 +01:00
|
|
|
, meson, ninja, gtk, glib, wrapGAppsHook, python3, libnotify
|
2018-03-22 19:01:49 +00:00
|
|
|
, itstool, gnome3, libxml2
|
2018-02-25 02:23:58 +00:00
|
|
|
, libcanberra-gtk3, libxslt, docbook_xsl, libpwquality }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "gnome-disk-utility-${version}";
|
2018-09-05 01:46:29 +01:00
|
|
|
version = "3.30.2";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/gnome-disk-utility/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-09-05 01:46:29 +01:00
|
|
|
sha256 = "1365fabz3q7n3bl775z82m1nzg18birxxyd7l2ssbbkqrx3h7wgi";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "gnome-disk-utility"; attrPath = "gnome3.gnome-disk-utility"; };
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-22 19:01:49 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson ninja pkgconfig gettext itstool libxslt docbook_xsl
|
2018-09-03 21:16:26 +01:00
|
|
|
wrapGAppsHook python3 libxml2
|
2018-03-22 19:01:49 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
gtk glib libsecret libpwquality libnotify libdvdread libcanberra-gtk3
|
|
|
|
udisks2 gnome3.defaultIconTheme
|
|
|
|
gnome3.gnome-settings-daemon gnome3.gsettings-desktop-schemas
|
|
|
|
];
|
2017-10-04 22:50:14 +01:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson_post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs meson_post_install.py
|
|
|
|
'';
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://en.wikipedia.org/wiki/GNOME_Disks;
|
2016-09-18 20:35:23 +01:00
|
|
|
description = "A udisks graphical front-end";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|