1 { stdenv, lib, fetchFromGitHub, libX11, libXft, freetype, patches ? [ ],
4 stdenv.mkDerivation rec {
8 src = fetchFromGitHub {
12 sha256 = "0358i5jmmlsvy2j85ij7m1k4ar2jr5lsv7y1c58dlf9710h186cv";
18 sed -i 's_/usr/include/freetype2_${freetype.dev}/include/freetype2_' Makefile
21 buildInputs = [ libX11 libXft freetype ] ++ extraLibs;
23 makeFlags = [ "PREFIX=$(out)" ];
26 description = "Daemon-less notifications without D-Bus";
27 homepage = "https://github.com/dudik/herbe";
28 license = licenses.mit;
29 # NOTE: Could also work on 'unix'.
30 platforms = platforms.linux;
31 maintainers = with maintainers; [ wishfort36 ];
32 mainProgram = "herbe";