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