forked from mirrors/nixpkgs
42 lines
1.3 KiB
Nix
42 lines
1.3 KiB
Nix
{ stdenv, gettext, fetchurl, pkgconfig, udisks2, libsecret, libdvdread
|
|
, meson, ninja, gtk, glib, wrapGAppsHook, libnotify
|
|
, itstool, gnome3, libxml2
|
|
, libcanberra-gtk3, libxslt, docbook_xsl, libpwquality }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gnome-disk-utility-${version}";
|
|
version = "3.28.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gnome-disk-utility/${gnome3.versionBranch version}/${name}.tar.xz";
|
|
sha256 = "09dmknfas8iifv6k5jb4a9ag57s8awrn0f26fd1qlg0mbfjlnfd6";
|
|
};
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript { packageName = "gnome-disk-utility"; attrPath = "gnome3.gnome-disk-utility"; };
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson ninja pkgconfig gettext itstool libxslt docbook_xsl
|
|
wrapGAppsHook libxml2
|
|
];
|
|
buildInputs = [
|
|
gtk glib libsecret libpwquality libnotify libdvdread libcanberra-gtk3
|
|
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
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://en.wikipedia.org/wiki/GNOME_Disks;
|
|
description = "A udisks graphical front-end";
|
|
maintainers = gnome3.maintainers;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|