mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
commit
3f3a3ec24c
@ -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>";
|
||||
|
45
pkgs/desktops/gnome-3/core/baobab/default.nix
Normal file
45
pkgs/desktops/gnome-3/core/baobab/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
@ -7446,6 +7446,8 @@ let
|
||||
};
|
||||
awesome = awesome-3-5;
|
||||
|
||||
inherit (gnome3) baobab;
|
||||
|
||||
baresip = callPackage ../applications/networking/instant-messengers/baresip {
|
||||
ffmpeg = ffmpeg_1;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user