Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 55 lines 1.2 kB view raw
1{ stdenv 2, lib 3, fetchurl 4, autoconf 5, vala 6, pkg-config 7, glib 8, gobject-introspection 9, gnome 10}: 11 12stdenv.mkDerivation (finalAttrs: { 13 pname = "libgee"; 14 version = "0.20.6"; 15 16 outputs = [ "out" "dev" ]; 17 18 src = fetchurl { 19 url = "mirror://gnome/sources/libgee/${lib.versions.majorMinor finalAttrs.version}/libgee-${finalAttrs.version}.tar.xz"; 20 sha256 = "G/g09eENYMxhJNdO08HdONpkZ4f794ciILi0Bo5HbU0="; 21 }; 22 23 nativeBuildInputs = [ 24 pkg-config 25 autoconf 26 vala 27 gobject-introspection 28 ]; 29 30 buildInputs = [ 31 glib 32 ]; 33 34 doCheck = true; 35 36 env = { 37 PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "${placeholder "dev"}/share/gir-1.0"; 38 PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "${placeholder "out"}/lib/girepository-1.0"; 39 }; 40 41 passthru = { 42 updateScript = gnome.updateScript { 43 packageName = "libgee"; 44 versionPolicy = "odd-unstable"; 45 }; 46 }; 47 48 meta = with lib; { 49 description = "Utility library providing GObject-based interfaces and classes for commonly used data structures"; 50 homepage = "https://gitlab.gnome.org/GNOME/libgee"; 51 license = licenses.lgpl21Plus; 52 platforms = platforms.unix; 53 maintainers = teams.gnome.members; 54 }; 55})