2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, gettext
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, udisks2
|
|
|
|
, libhandy
|
|
|
|
, libsecret
|
|
|
|
, libdvdread
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, gtk3
|
|
|
|
, glib
|
2024-05-15 15:35:15 +00:00
|
|
|
, wrapGAppsHook3
|
2021-05-20 23:08:51 +00:00
|
|
|
, libnotify
|
|
|
|
, itstool
|
|
|
|
, gnome
|
2024-07-27 06:49:29 +00:00
|
|
|
, adwaita-icon-theme
|
2021-05-20 23:08:51 +00:00
|
|
|
, libxml2
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, libcanberra-gtk3
|
|
|
|
, libxslt
|
|
|
|
, docbook-xsl-nons
|
2022-10-21 18:38:19 +00:00
|
|
|
, desktop-file-utils
|
2021-05-20 23:08:51 +00:00
|
|
|
, libpwquality
|
|
|
|
, systemd
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-disk-utility";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "46.0";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gnome-disk-utility/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-RkZJFIxtZ3HxrC6/5DpOUZIFsRwtkUoJ8qABgh0GlX0=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
libxslt
|
|
|
|
docbook-xsl-nons
|
2022-10-21 18:38:19 +00:00
|
|
|
desktop-file-utils
|
2024-05-15 15:35:15 +00:00
|
|
|
wrapGAppsHook3
|
2021-05-20 23:08:51 +00:00
|
|
|
libxml2
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
glib
|
|
|
|
libhandy
|
|
|
|
libsecret
|
|
|
|
libpwquality
|
|
|
|
libnotify
|
|
|
|
libdvdread
|
|
|
|
libcanberra-gtk3
|
|
|
|
udisks2
|
2024-07-27 06:49:29 +00:00
|
|
|
adwaita-icon-theme
|
2021-05-20 23:08:51 +00:00
|
|
|
systemd
|
|
|
|
gnome.gnome-settings-daemon
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome.updateScript {
|
|
|
|
packageName = "gnome-disk-utility";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-05-15 15:35:15 +00:00
|
|
|
homepage = "https://apps.gnome.org/DiskUtility/";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Udisks graphical front-end";
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-10-28 06:52:43 +00:00
|
|
|
mainProgram = "gnome-disks";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
}
|