nixpkgs/pkgs/development/libraries/libwnck/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

29 lines
740 B
Nix

{ 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;
};
}