2018-03-21 08:35:54 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, libX11, gtk3, intltool, gobjectIntrospection, gnome3}:
|
2012-03-19 05:36:51 +01:00
|
|
|
|
2018-03-21 08:35:54 +01:00
|
|
|
let
|
|
|
|
pname = "libwnck";
|
|
|
|
version = "3.24.1";
|
|
|
|
in stdenv.mkDerivation rec{
|
|
|
|
name = "${pname}-${version}";
|
2012-03-19 05:36:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-21 08:35:54 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
2017-11-16 05:29:18 +01:00
|
|
|
sha256 = "010zk9zvydggxqnxfml3scml5yxmpjy90irpqcayrzw26lldr9mg";
|
2012-03-19 05:36:51 +01:00
|
|
|
};
|
|
|
|
|
2016-09-01 11:07:23 +02:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2015-10-28 19:20:11 +01:00
|
|
|
outputBin = "dev";
|
|
|
|
|
2018-03-21 08:35:54 +01:00
|
|
|
configureFlags = [ "--enable-introspection" ];
|
2014-01-05 19:50:03 +01:00
|
|
|
|
2018-03-21 08:35:54 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool gobjectIntrospection ];
|
2012-03-19 05:36:51 +01:00
|
|
|
propagatedBuildInputs = [ libX11 gtk3 ];
|
2016-08-02 18:06:29 +02:00
|
|
|
|
2018-03-21 08:35:54 +01:00
|
|
|
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "${placeholder "dev"}/share/gir-1.0";
|
|
|
|
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "${placeholder "out"}/lib/girepository-1.0";
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library to manage X windows and workspaces (via pagers, tasklists, etc.)";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [];
|
2016-08-02 18:06:29 +02:00
|
|
|
};
|
2012-03-19 05:36:51 +01:00
|
|
|
}
|