nixpkgs/pkgs/desktops/gnome/core/baobab/default.nix

69 lines
1.3 KiB
Nix
Raw Normal View History

2021-03-21 05:15:44 +00:00
{ stdenv
, lib
, gettext
, fetchurl
, vala
, desktop-file-utils
, meson
, ninja
, pkg-config
, python3
, gtk3
, libhandy
, glib
, libxml2
, wrapGAppsHook
, itstool
, gnome
2021-03-21 05:15:44 +00:00
}:
2021-03-21 05:15:44 +00:00
stdenv.mkDerivation rec {
2018-03-13 19:01:23 +00:00
pname = "baobab";
2021-03-21 05:15:44 +00:00
version = "40.0";
src = fetchurl {
2021-03-21 05:15:44 +00:00
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "19yii3bdgivxrcka1c4g6dpbmql5nyawwhzlsph7z6bs68nambm6";
};
2021-03-21 05:15:44 +00:00
nativeBuildInputs = [
2021-08-28 20:08:57 +00:00
desktop-file-utils
gettext
glib
itstool
libxml2
2021-03-21 05:15:44 +00:00
meson
ninja
pkg-config
2021-08-28 20:08:57 +00:00
python3
2021-03-21 05:15:44 +00:00
vala
wrapGAppsHook
2021-08-28 20:08:57 +00:00
# Prevents “error: Package `libhandy-1' not found in specified Vala API
# directories or GObject-Introspection GIR directories” with strictDeps,
# even though it should only be a runtime dependency.
2021-08-28 20:08:57 +00:00
libhandy
2021-03-21 05:15:44 +00:00
];
buildInputs = [
gtk3
libhandy
glib
];
doCheck = true;
2018-03-13 19:01:23 +00:00
passthru = {
updateScript = gnome.updateScript {
2018-03-13 19:01:23 +00:00
packageName = pname;
};
};
meta = with lib; {
2018-03-13 19:01:23 +00:00
description = "Graphical application to analyse disk usage in any GNOME environment";
homepage = "https://wiki.gnome.org/Apps/DiskUsageAnalyzer";
2021-03-21 05:15:44 +00:00
license = licenses.gpl2Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
}