summary refs log tree commit diff
path: root/pkgs/development/libraries/libwnck/3.x.nix
blob: 6a835157d96cb8fe62bb57e934f84427a5fb9660 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{stdenv, fetchurl, pkgconfig, libX11, gtk3, intltool}:

stdenv.mkDerivation rec{
  name = "libwnck-${version}";
  version = "${majorVer}.${minorVer}.${patchVer}";

  majorVer = "3";
  minorVer = "24";
  patchVer = "1";

  src = fetchurl {
    url = "mirror://gnome/sources/libwnck/${majorVer}.${minorVer}/${name}.tar.xz";
    sha256 = "010zk9zvydggxqnxfml3scml5yxmpjy90irpqcayrzw26lldr9mg";
  };

  outputs = [ "out" "dev" "devdoc" ];
  outputBin = "dev";

  patches = [ ./install_introspection_to_prefix.patch ];

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ intltool ];
  propagatedBuildInputs = [ libX11 gtk3 ];

  meta = {
    platforms = stdenv.lib.platforms.linux;
  };
}