2016-06-17 10:45:58 +01:00
|
|
|
{ stdenv, makeWrapper, alsaLib, pkgconfig, fetchgit, gnome3, gdk_pixbuf, librsvg, wrapGAppsHook }:
|
2014-03-13 15:24:15 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-06-04 18:22:36 +01:00
|
|
|
name = "gvolicon-2014-04-28";
|
2014-03-13 15:24:15 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/Unia/gvolicon";
|
2016-06-17 10:45:58 +01:00
|
|
|
rev = "0d65a396ba11f519d5785c37fec3e9a816217a07";
|
|
|
|
sha256 = "1sr9wyy7w898vq63yd003yp3k66hd4vm8b0qsm9zvmwmpiz4wvln";
|
2014-03-13 15:24:15 +00:00
|
|
|
};
|
|
|
|
|
2017-09-14 20:24:37 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2016-06-17 10:45:58 +01:00
|
|
|
buildInputs = [
|
2017-09-14 20:24:37 +01:00
|
|
|
makeWrapper alsaLib gnome3.gtk gdk_pixbuf gnome3.defaultIconTheme
|
2016-06-17 10:45:58 +01:00
|
|
|
librsvg wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
2017-02-21 17:52:53 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = [ "-D_POSIX_C_SOURCE" ];
|
2014-03-13 15:24:15 +00:00
|
|
|
|
|
|
|
meta = {
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "A simple and lightweight volume icon that sits in your system tray";
|
2014-09-13 12:51:39 +01:00
|
|
|
homepage = https://github.com/Unia/gvolicon;
|
2014-03-13 15:24:15 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2014-09-13 12:51:39 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.bennofs ];
|
2014-03-13 15:24:15 +00:00
|
|
|
};
|
2014-10-18 18:18:00 +01:00
|
|
|
}
|