nixpkgs/pkgs/development/libraries/libgee/default.nix

36 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, autoconf, vala, pkg-config, glib, gobject-introspection, gnome3 }:
2018-12-25 03:34:57 +00:00
stdenv.mkDerivation rec {
2018-03-03 00:56:17 +00:00
pname = "libgee";
2020-02-12 16:34:11 +00:00
version = "0.20.3";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-02-12 16:34:11 +00:00
sha256 = "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh";
};
doCheck = true;
nativeBuildInputs = [ pkg-config autoconf vala gobject-introspection ];
2017-09-18 22:51:11 +01:00
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";
2018-03-03 00:56:17 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
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;
2017-03-16 22:13:42 +00:00
platforms = platforms.unix;
maintainers = teams.gnome.members;
};
}