2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gtk2, intltool, xorg }:
|
2009-09-29 22:27:34 -07:00
|
|
|
|
2013-09-07 14:36:21 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2019-04-24 23:46:07 -07:00
|
|
|
pname = "libwnck";
|
|
|
|
version = "2.31.0";
|
2012-03-08 14:45:38 -08:00
|
|
|
|
2009-09-29 22:27:34 -07:00
|
|
|
src = fetchurl {
|
2021-01-21 09:00:13 -08:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2013-09-07 14:36:21 -07:00
|
|
|
sha256 = "17isfjvrzgj5znld2a7zsk9vd39q9wnsysnw5jr8iz410z935xw3";
|
2009-09-29 22:27:34 -07:00
|
|
|
};
|
2012-03-08 14:45:38 -08:00
|
|
|
|
2016-09-01 02:07:23 -07:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2015-10-28 11:20:11 -07:00
|
|
|
outputBin = "dev";
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 14:26:13 -07:00
|
|
|
buildInputs = [ gtk2 intltool xorg.libX11 xorg.libXres ];
|
2013-09-07 14:36:21 -07:00
|
|
|
# ?another optional: startup-notification
|
2013-08-05 23:06:26 -07:00
|
|
|
|
|
|
|
configureFlags = [ "--disable-introspection" ]; # not needed anywhere AFAIK
|
2013-09-07 14:36:21 -07:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A library for creating task lists and pagers";
|
2019-05-04 06:59:55 -07:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/libwnck";
|
2021-01-21 09:00:13 -08:00
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
maintainers = with lib.maintainers; [ johnazoidberg ];
|
2021-02-20 15:01:09 -08:00
|
|
|
# ./xutils.h:31:10: fatal error: 'gdk/gdkx.h' file not found
|
|
|
|
# #include <gdk/gdkx.h>
|
|
|
|
broken = stdenv.isDarwin;
|
2013-09-07 14:36:21 -07:00
|
|
|
};
|
2009-09-29 22:27:34 -07:00
|
|
|
}
|