3
0
Fork 0
forked from mirrors/nixpkgs

baobab: new package

Graphical application to analyse disk usage in any Gnome environment.

https://wiki.gnome.org/Apps/Baobab
This commit is contained in:
Luca Bruno 2014-02-15 22:21:06 +01:00
parent a49fbca134
commit 402c1d582e
4 changed files with 50 additions and 0 deletions

View file

@ -34,6 +34,7 @@
jcumming = "Jack Cummings <jack@mudshark.org>";
kkallio = "Karn Kallio <tierpluspluslists@gmail.com>";
ktosiek = "Tomasz Kontusz <tomasz.kontusz@gmail.com>";
lethalman = "Luca Bruno <lucabru@src.gnome.org>";
linquize = "Linquize <linquize@yahoo.com.hk>";
lovek323 = "Jason O'Conal <jason@oconal.id.au>";
ludo = "Ludovic Courtès <ludo@gnu.org>";

View file

@ -0,0 +1,45 @@
{ stdenv, intltool, fetchurl, vala, libgtop, pkgconfig, gtk3, glib
, bash, makeWrapper, itstool, libxml2, gnome3 }:
# TODO: icons and theme still does not work
# use packaged gnome3.gnome_icon_theme_symbolic
stdenv.mkDerivation rec {
name = "baobab-3.10.1";
src = fetchurl {
url = "https://download.gnome.org/sources/baobab/3.10/${name}.tar.xz";
sha256 = "23ce8e4847ce5f1c8230e757532d94c84e6e273d6ec8fca20eecaed5f96563f9";
};
configureFlags = [ "--disable-static" ];
doCheck = true;
NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0";
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
buildInputs = [ vala pkgconfig gtk3 glib libgtop intltool itstool libxml2
gnome3.gsettings_desktop_schemas makeWrapper ];
installFlags = "gsettingsschemadir=\${out}/share/${name}/glib-2.0/schemas/";
postInstall = ''
wrapProgram "$out/bin/baobab" \
--prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:${gnome3.gsettings_desktop_schemas}/share:$out/share:$out/share/${name}"
'';
preFixup = ''
rm $out/share/icons/hicolor/icon-theme.cache
rm $out/share/icons/HighContrast/icon-theme.cache
'';
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Baobab;
description = "Graphical application to analyse disk usage in any Gnome environment";
maintainers = with maintainers; [ lethalman ];
license = licenses.gpl2;
platforms = platforms.linux;
};
}

View file

@ -14,6 +14,8 @@ rec {
at_spi2_core = callPackage ./core/at-spi2-core { };
baobab = callPackage ./core/baobab { };
caribou = callPackage ./core/caribou { };
dconf = callPackage ./core/dconf { };

View file

@ -7447,6 +7447,8 @@ let
};
awesome = awesome-3-5;
inherit (gnome3) baobab;
baresip = callPackage ../applications/networking/instant-messengers/baresip {
ffmpeg = ffmpeg_1;
};