2019-02-10 05:27:16 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libX11, gtk3, intltool, gobject-introspection, gnome3 }:
|
2012-03-19 04:36:51 +00:00
|
|
|
|
2018-03-21 07:35:54 +00:00
|
|
|
let
|
|
|
|
pname = "libwnck";
|
2018-12-15 13:56:14 +00:00
|
|
|
version = "3.30.0";
|
2018-03-21 07:35:54 +00:00
|
|
|
in stdenv.mkDerivation rec{
|
|
|
|
name = "${pname}-${version}";
|
2012-03-19 04:36:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-12-15 13:56:14 +00:00
|
|
|
sha256 = "0f9lvhm3w25046dqq8xyg7nzggxpmdriwrb661nng05a8qk0svdc";
|
2012-03-19 04:36:51 +00:00
|
|
|
};
|
|
|
|
|
2016-09-01 10:07:23 +01:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2015-10-28 18:20:11 +00:00
|
|
|
outputBin = "dev";
|
|
|
|
|
2018-03-21 07:35:54 +00:00
|
|
|
configureFlags = [ "--enable-introspection" ];
|
2014-01-05 18:50:03 +00:00
|
|
|
|
2018-12-02 11:41:15 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool gobject-introspection ];
|
2012-03-19 04:36:51 +00:00
|
|
|
propagatedBuildInputs = [ libX11 gtk3 ];
|
2016-08-02 17:06:29 +01:00
|
|
|
|
2018-04-26 21:59:34 +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";
|
2018-03-21 07:35:54 +00:00
|
|
|
|
|
|
|
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;
|
2019-02-10 05:27:16 +00:00
|
|
|
maintainers = [ maintainers.worldofpeace ];
|
2016-08-02 17:06:29 +01:00
|
|
|
};
|
2012-03-19 04:36:51 +00:00
|
|
|
}
|