3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/core/gnome-disk-utility/default.nix

46 lines
1.4 KiB
Nix
Raw Normal View History

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
, itstool, gnome3, libxml2, gsettings-desktop-schemas
, libcanberra-gtk3, libxslt, docbook_xsl, libpwquality, systemd }:
stdenv.mkDerivation rec {
pname = "gnome-disk-utility";
version = "3.38.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-disk-utility/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1TuF3BMDobXOHkIcH1xqwLMY4HzZqVk50uHwlZpe19k=";
};
2018-03-22 19:01:49 +00:00
nativeBuildInputs = [
meson ninja pkgconfig gettext itstool libxslt docbook_xsl
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
udisks2 gnome3.adwaita-icon-theme systemd
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
'';
2019-02-13 21:47:50 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = "gnome-disk-utility";
attrPath = "gnome3.gnome-disk-utility";
};
};
meta = with stdenv.lib; {
homepage = "https://en.wikipedia.org/wiki/GNOME_Disks";
description = "A udisks graphical front-end";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
};
}