depot/third_party/nixpkgs/pkgs/by-name/gn/gnome-disk-utility/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

81 lines
1.4 KiB
Nix

{ lib
, stdenv
, gettext
, fetchurl
, pkg-config
, udisks2
, libhandy
, libsecret
, libdvdread
, meson
, ninja
, gtk3
, glib
, wrapGAppsHook3
, libnotify
, itstool
, gnome
, adwaita-icon-theme
, libxml2
, gsettings-desktop-schemas
, libcanberra-gtk3
, libxslt
, docbook-xsl-nons
, desktop-file-utils
, libpwquality
, systemd
}:
stdenv.mkDerivation rec {
pname = "gnome-disk-utility";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-disk-utility/${lib.versions.major version}/${pname}-${version}.tar.xz";
hash = "sha256-RkZJFIxtZ3HxrC6/5DpOUZIFsRwtkUoJ8qABgh0GlX0=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gettext
itstool
libxslt
docbook-xsl-nons
desktop-file-utils
wrapGAppsHook3
libxml2
];
buildInputs = [
gtk3
glib
libhandy
libsecret
libpwquality
libnotify
libdvdread
libcanberra-gtk3
udisks2
adwaita-icon-theme
systemd
gnome.gnome-settings-daemon
gsettings-desktop-schemas
];
passthru = {
updateScript = gnome.updateScript {
packageName = "gnome-disk-utility";
};
};
meta = with lib; {
homepage = "https://apps.gnome.org/DiskUtility/";
description = "Udisks graphical front-end";
maintainers = teams.gnome.members;
license = licenses.gpl2Plus;
platforms = platforms.linux;
mainProgram = "gnome-disks";
};
}