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

86 lines
1.5 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, gettext
, fetchurl
, pkg-config
, udisks2
, libhandy
, libsecret
, libdvdread
, meson
, ninja
, gtk3
, glib
, wrapGAppsHook
, python3
, libnotify
, itstool
, gnome
, libxml2
, gsettings-desktop-schemas
, libcanberra-gtk3
, libxslt
, docbook-xsl-nons
, libpwquality
, systemd
}:
stdenv.mkDerivation rec {
pname = "gnome-disk-utility";
2021-07-11 10:01:28 +01:00
version = "40.2";
src = fetchurl {
url = "mirror://gnome/sources/gnome-disk-utility/${lib.versions.major version}/${pname}-${version}.tar.xz";
2021-07-11 10:01:28 +01:00
sha256 = "sha256-ztES6qh9j/ohOv1NC62TnPp662cbeySIWaHchNb1Iec=";
};
2018-03-22 19:01:49 +00:00
nativeBuildInputs = [
meson
ninja
pkg-config
gettext
itstool
libxslt
docbook-xsl-nons
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 = [
gtk3
glib
libhandy
libsecret
libpwquality
libnotify
libdvdread
libcanberra-gtk3
udisks2
gnome.adwaita-icon-theme
systemd
gnome.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 = gnome.updateScript {
2019-02-13 21:47:50 +00:00
packageName = "gnome-disk-utility";
attrPath = "gnome.gnome-disk-utility";
2019-02-13 21:47:50 +00:00
};
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Disks";
description = "A udisks graphical front-end";
maintainers = teams.gnome.members;
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}