2021-06-28 23:13:55 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gtk2, intltool, xorg }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libwnck";
|
|
|
|
version = "2.31.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "17isfjvrzgj5znld2a7zsk9vd39q9wnsysnw5jr8iz410z935xw3";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
outputBin = "dev";
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
nativeBuildInputs = [ pkg-config intltool ];
|
|
|
|
buildInputs = [ gtk2 xorg.libX11 xorg.libXres ];
|
2021-06-28 23:13:55 +00:00
|
|
|
# ?another optional: startup-notification
|
|
|
|
|
|
|
|
configureFlags = [ "--disable-introspection" ]; # not needed anywhere AFAIK
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Library for creating task lists and pagers";
|
2021-06-28 23:13:55 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/libwnck";
|
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
maintainers = with lib.maintainers; [ johnazoidberg ];
|
|
|
|
# ./xutils.h:31:10: fatal error: 'gdk/gdkx.h' file not found
|
|
|
|
# #include <gdk/gdkx.h>
|
2024-09-26 11:04:55 +00:00
|
|
|
broken = stdenv.hostPlatform.isDarwin;
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
}
|