2017-04-04 10:38:47 +01:00
|
|
|
{ stdenv, intltool, fetchurl, vala, libgtop
|
2016-09-18 20:35:23 +01:00
|
|
|
, pkgconfig, gtk3, glib
|
2017-04-04 10:38:47 +01:00
|
|
|
, bash, wrapGAppsHook, itstool, libxml2
|
2016-09-18 20:35:23 +01:00
|
|
|
, gnome3, librsvg, gdk_pixbuf, file }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "baobab-${version}";
|
|
|
|
version = "3.26.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/baobab/${gnome3.versionBranch version}/${name}.tar.xz";
|
|
|
|
sha256 = "7a59ab5945f5d90725231b10d85a1893403f56660b1627c111d2b4eeb1ef787e";
|
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "baobab"; };
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ vala gtk3 glib libgtop intltool itstool libxml2
|
2017-04-04 10:38:47 +01:00
|
|
|
wrapGAppsHook file gdk_pixbuf gnome3.defaultIconTheme librsvg ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Baobab;
|
|
|
|
description = "Graphical application to analyse disk usage in any Gnome environment";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|