python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / applications / misc / volnoti / default.nix
blobd70918f2e7ce3565aa45de9bca6699d52cb3c51f
1 { lib, stdenv, fetchFromGitHub, fetchpatch
2 , pkg-config, dbus, gdk-pixbuf, glib, libX11, gtk2, librsvg
3 , dbus-glib, autoreconfHook, wrapGAppsHook }:
5 stdenv.mkDerivation {
6   pname = "volnoti-unstable";
7   version = "2013-09-23";
9   src = fetchFromGitHub {
10     owner = "davidbrazdil";
11     repo = "volnoti";
12     rev = "4af7c8e54ecc499097121909f02ecb42a8a60d24";
13     sha256 = "155lb7w563dkdkdn4752hl0zjhgnq3j4cvs9z98nb25k1xpmpki7";
14   };
16   patches = [
17     # Fix dbus interface headers. See
18     # https://github.com/davidbrazdil/volnoti/pull/10
19     (fetchpatch {
20       url = "https://github.com/davidbrazdil/volnoti/pull/10.patch";
21       sha256 = "046zfdjmvhb7jrsgh04vfgi35sgy1zkrhd3bzdby3nvds1wslfam";
22     })
23   ];
25   nativeBuildInputs = [ pkg-config autoreconfHook wrapGAppsHook ];
27   buildInputs = [
28     dbus gdk-pixbuf glib libX11 gtk2 dbus-glib librsvg
29   ];
31   meta = with lib; {
32     description = "Lightweight volume notification for Linux";
33     homepage = "https://github.com/davidbrazdil/volnoti";
34     license = licenses.gpl3;
35     platforms = platforms.linux;
36     maintainers = [ maintainers.gilligan ];
37   };