Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 gtk2, 7 intltool, 8 xorg, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "libwnck"; 13 version = "2.31.0"; 14 15 src = fetchurl { 16 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 17 sha256 = "17isfjvrzgj5znld2a7zsk9vd39q9wnsysnw5jr8iz410z935xw3"; 18 }; 19 20 outputs = [ 21 "out" 22 "dev" 23 "devdoc" 24 ]; 25 outputBin = "dev"; 26 27 nativeBuildInputs = [ 28 pkg-config 29 intltool 30 ]; 31 buildInputs = [ 32 gtk2 33 xorg.libX11 34 xorg.libXres 35 ]; 36 # ?another optional: startup-notification 37 38 configureFlags = [ "--disable-introspection" ]; # not needed anywhere AFAIK 39 40 meta = { 41 description = "Library for creating task lists and pagers"; 42 homepage = "https://gitlab.gnome.org/GNOME/libwnck"; 43 license = lib.licenses.lgpl21; 44 maintainers = with lib.maintainers; [ johnazoidberg ]; 45 # ./xutils.h:31:10: fatal error: 'gdk/gdkx.h' file not found 46 # #include <gdk/gdkx.h> 47 broken = stdenv.hostPlatform.isDarwin; 48 }; 49}