2021-06-23 19:22:04 +01:00
|
|
|
{ lib, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, fetchpatch
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, gtk-doc
|
|
|
|
, docbook_xsl
|
|
|
|
, docbook_xml_dtd_412
|
|
|
|
, libX11
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, pango
|
|
|
|
, cairo
|
|
|
|
, libXres
|
|
|
|
, libstartup_notification
|
|
|
|
, gettext
|
|
|
|
, gobject-introspection
|
|
|
|
, gnome
|
|
|
|
}:
|
2009-09-30 06:27:34 +01:00
|
|
|
|
2013-09-07 22:36:21 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-04-25 07:46:07 +01:00
|
|
|
pname = "libwnck";
|
2021-06-23 19:22:04 +01:00
|
|
|
version = "3.36.0";
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
outputBin = "dev";
|
2012-03-08 22:45:38 +00:00
|
|
|
|
2009-09-30 06:27:34 +01:00
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-06-23 19:22:04 +01:00
|
|
|
sha256 = "0pwjdhca9lz2n1gf9b60xf0m6ipf9snp8rqf9csj4pgdnd882l5w";
|
2009-09-30 06:27:34 +01:00
|
|
|
};
|
2012-03-08 22:45:38 +00:00
|
|
|
|
2021-06-23 19:22:04 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
gettext
|
|
|
|
gobject-introspection
|
|
|
|
gtk-doc
|
|
|
|
docbook_xsl
|
|
|
|
docbook_xml_dtd_412
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
libstartup_notification
|
|
|
|
pango
|
|
|
|
cairo
|
|
|
|
libXres
|
|
|
|
];
|
2015-10-28 18:20:11 +00:00
|
|
|
|
2021-06-23 19:22:04 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
];
|
2013-08-06 07:06:26 +01:00
|
|
|
|
2021-06-23 19:22:04 +01:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dgtk_doc=true"
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "${pname}${lib.versions.major version}";
|
|
|
|
versionPolicy = "odd-unstable";
|
|
|
|
};
|
|
|
|
};
|
2013-09-07 22:36:21 +01:00
|
|
|
|
2021-06-23 19:22:04 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Library to manage X windows and workspaces (via pagers, tasklists, etc.)";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ liff ];
|
2013-09-07 22:36:21 +01:00
|
|
|
};
|
2009-09-30 06:27:34 +01:00
|
|
|
}
|