Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv 2, fetchurl 3, pkg-config 4, glib 5, gtk3 6, libgee 7, gettext 8, vala 9, gnome 10, libintl 11, meson 12, ninja 13}: 14 15stdenv.mkDerivation rec { 16 pname = "libgnome-games-support"; 17 version = "1.8.2"; 18 19 src = fetchurl { 20 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 21 sha256 = "KENGBKewOHMawCMXMTiP8QT1ZbsjMMwk54zaBM/T730="; 22 }; 23 24 nativeBuildInputs = [ 25 gettext 26 meson 27 ninja 28 pkg-config 29 vala 30 ]; 31 32 buildInputs = [ 33 libintl 34 ]; 35 36 propagatedBuildInputs = [ 37 # Required by libgnome-games-support-1.pc 38 glib 39 gtk3 40 libgee 41 ]; 42 43 passthru = { 44 updateScript = gnome.updateScript { 45 packageName = pname; 46 versionPolicy = "odd-unstable"; 47 freeze = true; 48 }; 49 }; 50 51 meta = with lib; { 52 description = "Small library intended for internal use by GNOME Games, but it may be used by others"; 53 homepage = "https://wiki.gnome.org/Apps/Games"; 54 license = licenses.lgpl3; 55 maintainers = teams.gnome.members; 56 platforms = platforms.unix; 57 }; 58}