2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, gettext, fetchurl, vala, desktop-file-utils
|
2021-01-17 02:21:50 +00:00
|
|
|
, meson, ninja, pkg-config, python3, gtk3, glib, libxml2
|
2018-03-13 19:01:23 +00:00
|
|
|
, wrapGAppsHook, itstool, gnome3 }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-13 19:01:23 +00:00
|
|
|
let
|
|
|
|
pname = "baobab";
|
2020-08-21 16:38:00 +01:00
|
|
|
version = "3.38.0";
|
2018-03-13 19:01:23 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 13:21:58 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
2020-08-21 16:38:00 +01:00
|
|
|
sha256 = "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 02:21:50 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config vala gettext itstool libxml2 desktop-file-utils wrapGAppsHook python3 ];
|
2019-02-13 21:47:50 +00:00
|
|
|
buildInputs = [ gtk3 glib gnome3.adwaita-icon-theme ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2018-03-13 19:01:23 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/DiskUsageAnalyzer";
|
2016-09-18 20:35:23 +01:00
|
|
|
license = licenses.gpl2;
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 20:35:23 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|