2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl, libX11, libxcb, pkg-config, xcbutil}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "libstartup-notification";
|
2021-07-18 21:22:44 +00:00
|
|
|
version = "0.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.freedesktop.org/software/startup-notification/releases/startup-notification-${version}.tar.gz";
|
|
|
|
sha256 = "3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a";
|
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
2021-07-21 07:28:18 +00:00
|
|
|
"lf_cv_sane_realloc=yes"
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libX11 libxcb xcbutil ];
|
|
|
|
|
|
|
|
meta = {
|
2023-11-16 04:20:00 +00:00
|
|
|
homepage = "https://www.freedesktop.org/software/startup-notification";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Application startup notification and feedback library";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.lgpl2;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|