mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
28 lines
884 B
Nix
28 lines
884 B
Nix
{ stdenv, fetchurl, glib, pkgconfig, gobjectIntrospection, dbus, libintlOrEmpty }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "json-glib-${minVer}.0";
|
|
minVer = "1.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/json-glib/${minVer}/${name}.tar.xz";
|
|
sha256 = "1lx7p1c7cl21byvfgw92n8dhm09vi6qxrs0zkx9dg3y096zdzmlr";
|
|
};
|
|
|
|
configureflags= "--with-introspection";
|
|
|
|
propagatedBuildInputs = [ glib gobjectIntrospection ];
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = libintlOrEmpty;
|
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://live.gnome.org/JsonGlib;
|
|
description = "A library providing (de)serialization support for the JavaScript Object Notation (JSON) format";
|
|
license = licenses.lgpl2;
|
|
maintainers = with maintainers; [ lethalman ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|