1 {lib, stdenv, fetchurl, libX11, libxcb, pkg-config, xcbutil}:
3 stdenv.mkDerivation rec {
4 pname = "libstartup-notification";
7 url = "https://www.freedesktop.org/software/startup-notification/releases/startup-notification-${version}.tar.gz";
8 sha256 = "3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a";
11 configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
12 "lf_cv_sane_realloc=yes"
15 nativeBuildInputs = [ pkg-config ];
16 buildInputs = [ libX11 libxcb xcbutil ];
19 homepage = "https://www.freedesktop.org/software/startup-notification";
20 description = "Application startup notification and feedback library";
21 license = lib.licenses.lgpl2;