2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, fetchpatch
|
2021-01-17 02:09:27 +00:00
|
|
|
, pkg-config, dbus, gdk-pixbuf, glib, libX11, gtk2, librsvg
|
2018-02-25 02:23:58 +00:00
|
|
|
, dbus-glib, autoreconfHook, wrapGAppsHook }:
|
2016-11-04 14:51:05 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "volnoti-unstable";
|
2016-11-04 14:51:05 +00:00
|
|
|
version = "2013-09-23";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "davidbrazdil";
|
|
|
|
repo = "volnoti";
|
|
|
|
rev = "4af7c8e54ecc499097121909f02ecb42a8a60d24";
|
|
|
|
sha256 = "155lb7w563dkdkdn4752hl0zjhgnq3j4cvs9z98nb25k1xpmpki7";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
# Fix dbus interface headers. See
|
|
|
|
# https://github.com/davidbrazdil/volnoti/pull/10
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/davidbrazdil/volnoti/pull/10.patch";
|
|
|
|
sha256 = "046zfdjmvhb7jrsgh04vfgi35sgy1zkrhd3bzdby3nvds1wslfam";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook wrapGAppsHook ];
|
2016-11-04 14:51:05 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2019-05-22 12:03:39 +01:00
|
|
|
dbus gdk-pixbuf glib libX11 gtk2 dbus-glib librsvg
|
2016-11-04 14:51:05 +00:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-11-04 14:51:05 +00:00
|
|
|
description = "Lightweight volume notification for Linux";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/davidbrazdil/volnoti";
|
2016-11-04 14:51:05 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.gilligan ];
|
|
|
|
};
|
|
|
|
}
|