2021-03-21 05:15:44 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, gettext
|
|
|
|
, fetchurl
|
|
|
|
, vala
|
|
|
|
, desktop-file-utils
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
2022-02-16 18:33:30 +00:00
|
|
|
, gtk4
|
|
|
|
, libadwaita
|
2021-03-21 05:15:44 +00:00
|
|
|
, glib
|
|
|
|
, libxml2
|
2022-02-16 18:33:30 +00:00
|
|
|
, wrapGAppsHook4
|
2021-03-21 05:15:44 +00:00
|
|
|
, itstool
|
2021-05-07 22:18:14 +01:00
|
|
|
, gnome
|
2021-03-21 05:15:44 +00:00
|
|
|
}:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2021-03-21 05:15:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-13 19:01:23 +00:00
|
|
|
pname = "baobab";
|
2024-09-17 14:27:21 +01:00
|
|
|
version = "47.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-08-20 23:56:55 +01:00
|
|
|
url = "mirror://gnome/sources/baobab/${lib.versions.major version}/baobab-${version}.tar.xz";
|
2024-09-17 14:27:21 +01:00
|
|
|
hash = "sha256-uI90+cBS08I4j3Bi0ijPXpJ1Raz3QIxWhB34DM0fnDc=";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2021-03-21 05:15:44 +00:00
|
|
|
nativeBuildInputs = [
|
2021-08-28 21:08:57 +01:00
|
|
|
desktop-file-utils
|
|
|
|
gettext
|
|
|
|
glib
|
|
|
|
itstool
|
|
|
|
libxml2
|
2021-03-21 05:15:44 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
vala
|
2022-02-16 18:33:30 +00:00
|
|
|
wrapGAppsHook4
|
2021-03-21 05:15:44 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-02-16 18:33:30 +00:00
|
|
|
gtk4
|
|
|
|
libadwaita
|
2021-03-21 05:15:44 +00:00
|
|
|
glib
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2018-03-13 19:01:23 +00:00
|
|
|
passthru = {
|
2021-05-07 22:18:14 +01:00
|
|
|
updateScript = gnome.updateScript {
|
2024-08-20 23:56:55 +01:00
|
|
|
packageName = "baobab";
|
2018-03-13 19:01:23 +00:00
|
|
|
};
|
|
|
|
};
|
2016-09-18 20:35:23 +01: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";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "baobab";
|
2024-05-01 06:03:10 +01:00
|
|
|
homepage = "https://apps.gnome.org/Baobab/";
|
2021-03-21 05:15:44 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2022-12-18 21:48:51 +00:00
|
|
|
platforms = platforms.unix;
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
}
|