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
|
2021-05-07 21:18:14 +00:00
|
|
|
, gnome
|
2021-03-21 05:15:44 +00:00
|
|
|
}:
|
2016-09-18 19:35:23 +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";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
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";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
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
|
2021-09-01 12:51:06 +00:00
|
|
|
# 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
|
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2018-03-13 19:01:23 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-13 19:01:23 +00:00
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-03-13 19:01:23 +00:00
|
|
|
description = "Graphical application to analyse disk usage in any GNOME environment";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/DiskUsageAnalyzer";
|
2021-03-21 05:15:44 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 19:35:23 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|