about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libwnck/default.nix
blob: 2545413741043047357a3f6cc2ccb74229ba9c81 (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, gtk2, intltool, xorg }:

let
  ver_maj = "2.31";
  ver_min = "0";
in
stdenv.mkDerivation rec {
  name = "libwnck-${ver_maj}.${ver_min}";

  src = fetchurl {
    url = "mirror://gnome/sources/libwnck/${ver_maj}/${name}.tar.xz";
    sha256 = "17isfjvrzgj5znld2a7zsk9vd39q9wnsysnw5jr8iz410z935xw3";
  };

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

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ gtk2 intltool xorg.libX11 xorg.libXres ];
  # ?another optional: startup-notification

  configureFlags = [ "--disable-introspection" ]; # not needed anywhere AFAIK

  meta = {
    description = "A library for creating task lists and pagers";
    license = stdenv.lib.licenses.lgpl21;
  };
}