2018-03-13 19:01:23 +00:00
|
|
|
{ stdenv, gettext, fetchurl, vala, desktop-file-utils
|
|
|
|
, meson, ninja, pkgconfig, gtk3, glib, libxml2
|
|
|
|
, wrapGAppsHook, itstool, gnome3 }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-13 19:01:23 +00:00
|
|
|
let
|
|
|
|
pname = "baobab";
|
2018-03-13 01:03:18 +00:00
|
|
|
version = "3.28.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 {
|
2018-03-13 19:01:23 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-03-13 01:03:18 +00:00
|
|
|
sha256 = "0qsx7vx5c3n4yxlxbr11sppw7qwcv9z3g45b5xb9y7wxw5lv42sk";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2018-03-13 19:01:23 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig vala gettext itstool libxml2 desktop-file-utils wrapGAppsHook ];
|
|
|
|
buildInputs = [ gtk3 glib gnome3.defaultIconTheme ];
|
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
|
|
|
|
|
|
|
meta = with stdenv.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;
|
2016-09-18 20:35:23 +01:00
|
|
|
license = licenses.gpl2;
|
2018-03-13 19:01:23 +00:00
|
|
|
maintainers = gnome3.maintainers;
|
2016-09-18 20:35:23 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|