about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libgee
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libgee')
-rw-r--r--nixpkgs/pkgs/development/libraries/libgee/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libgee/default.nix b/nixpkgs/pkgs/development/libraries/libgee/default.nix
new file mode 100644
index 000000000000..1a40d1f17b41
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/libgee/default.nix
@@ -0,0 +1,36 @@
+{ lib, stdenv, fetchurl, autoconf, vala, pkg-config, glib, gobject-introspection, gnome }:
+
+stdenv.mkDerivation rec {
+  pname = "libgee";
+  version = "0.20.4";
+
+  outputs = [ "out" "dev" ];
+
+  src = fetchurl {
+    url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+    sha256 = "03nyf8n7i7f67fsh220g52slmihdk1lv4iwspm7xmkgrj3rink2j";
+  };
+
+  doCheck = true;
+
+  nativeBuildInputs = [ pkg-config autoconf vala gobject-introspection ];
+  buildInputs = [ glib ];
+
+  PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "${placeholder "dev"}/share/gir-1.0";
+  PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "${placeholder "out"}/lib/girepository-1.0";
+
+  passthru = {
+    updateScript = gnome.updateScript {
+      packageName = pname;
+      versionPolicy = "odd-unstable";
+    };
+  };
+
+  meta = with lib; {
+    description = "Utility library providing GObject-based interfaces and classes for commonly used data structures";
+    homepage = "https://wiki.gnome.org/Projects/Libgee";
+    license = licenses.lgpl21Plus;
+    platforms = platforms.unix;
+    maintainers = teams.gnome.members;
+  };
+}