2021-05-07 22:18:14 +01:00
|
|
|
{ lib, stdenv, makeWrapper, alsaLib, pkg-config, fetchgit, gtk3, gnome, 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
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2016-06-17 10:45:58 +01:00
|
|
|
buildInputs = [
|
2021-05-07 22:18:14 +01:00
|
|
|
makeWrapper alsaLib gtk3 gdk-pixbuf gnome.adwaita-icon-theme
|
2016-06-17 10:45:58 +01:00
|
|
|
librsvg wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
2017-02-21 17:52:53 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2019-10-30 02:23:29 +00:00
|
|
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Unia/gvolicon";
|
2021-01-15 09:19:50 +00:00
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
maintainers = [ lib.maintainers.bennofs ];
|
2014-03-13 15:24:15 +00:00
|
|
|
};
|
2014-10-18 18:18:00 +01:00
|
|
|
}
|