at 23.11-beta 30 lines 973 B view raw
1{ lib, stdenv, fetchurl, pkg-config, gtk2, intltool, xorg }: 2 3stdenv.mkDerivation rec { 4 pname = "libwnck"; 5 version = "2.31.0"; 6 7 src = fetchurl { 8 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 sha256 = "17isfjvrzgj5znld2a7zsk9vd39q9wnsysnw5jr8iz410z935xw3"; 10 }; 11 12 outputs = [ "out" "dev" "devdoc" ]; 13 outputBin = "dev"; 14 15 nativeBuildInputs = [ pkg-config intltool ]; 16 buildInputs = [ gtk2 xorg.libX11 xorg.libXres ]; 17 # ?another optional: startup-notification 18 19 configureFlags = [ "--disable-introspection" ]; # not needed anywhere AFAIK 20 21 meta = { 22 description = "A library for creating task lists and pagers"; 23 homepage = "https://gitlab.gnome.org/GNOME/libwnck"; 24 license = lib.licenses.lgpl21; 25 maintainers = with lib.maintainers; [ johnazoidberg ]; 26 # ./xutils.h:31:10: fatal error: 'gdk/gdkx.h' file not found 27 # #include <gdk/gdkx.h> 28 broken = stdenv.isDarwin; 29 }; 30}