nixpkgs/pkgs/desktops/gnome-3/core/baobab/default.nix

35 lines
1013 B
Nix
Raw Normal View History

2018-03-13 19:01:23 +00:00
{ stdenv, gettext, fetchurl, vala, desktop-file-utils
, meson, ninja, pkgconfig, gtk3, glib, libxml2
, wrapGAppsHook, itstool, gnome3 }:
2018-03-13 19:01:23 +00:00
let
pname = "baobab";
2019-03-03 18:18:45 +00:00
version = "3.32.0";
2018-03-13 19:01:23 +00:00
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2019-03-03 18:18:45 +00:00
sha256 = "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r";
};
2018-03-13 19:01:23 +00:00
nativeBuildInputs = [ meson ninja pkgconfig vala gettext itstool libxml2 desktop-file-utils wrapGAppsHook ];
2019-02-13 21:47:50 +00:00
buildInputs = [ gtk3 glib gnome3.adwaita-icon-theme ];
doCheck = true;
2018-03-13 19:01:23 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
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;
license = licenses.gpl2;
2018-03-13 19:01:23 +00:00
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}