2017-10-04 22:50:14 +01:00
|
|
|
{ stdenv, gettext, fetchurl, pkgconfig, udisks2, libsecret, libdvdread
|
2019-02-13 21:47:50 +00:00
|
|
|
, meson, ninja, gtk3, glib, wrapGAppsHook, python3, libnotify
|
2019-04-17 01:38:26 +01:00
|
|
|
, itstool, gnome3, libxml2, gsettings-desktop-schemas
|
2019-09-02 17:44:49 +01:00
|
|
|
, libcanberra-gtk3, libxslt, docbook_xsl, libpwquality, systemd }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gnome-disk-utility";
|
2020-12-15 22:07:31 +00:00
|
|
|
version = "3.38.1";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://gnome/sources/gnome-disk-utility/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-12-15 22:07:31 +00:00
|
|
|
sha256 = "1TuF3BMDobXOHkIcH1xqwLMY4HzZqVk50uHwlZpe19k=";
|
2018-02-25 20:07:20 +00: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
|
|
|
];
|
2019-02-13 21:47:50 +00:00
|
|
|
|
2018-03-22 19:01:49 +00:00
|
|
|
buildInputs = [
|
2019-02-13 21:47:50 +00:00
|
|
|
gtk3 glib libsecret libpwquality libnotify libdvdread libcanberra-gtk3
|
2019-09-02 17:44:49 +01:00
|
|
|
udisks2 gnome3.adwaita-icon-theme systemd
|
2019-04-17 01:38:26 +01:00
|
|
|
gnome3.gnome-settings-daemon gsettings-desktop-schemas
|
2018-03-22 19:01:49 +00:00
|
|
|
];
|
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
|
|
|
|
2019-02-13 21:47:50 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "gnome-disk-utility";
|
|
|
|
attrPath = "gnome3.gnome-disk-utility";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11: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";
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 20:35:23 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|