nixpkgs/pkgs/development/libraries/json-glib/default.nix

30 lines
914 B
Nix
Raw Normal View History

2016-06-17 01:42:15 +01:00
{ stdenv, fetchurl, glib, pkgconfig, gobjectIntrospection, dbus, libintlOrEmpty }:
stdenv.mkDerivation rec {
2016-03-30 16:28:08 +01:00
name = "json-glib-${minVer}.0";
minVer = "1.2";
2015-04-05 06:22:12 +01:00
src = fetchurl {
url = "mirror://gnome/sources/json-glib/${minVer}/${name}.tar.xz";
2016-03-30 16:28:08 +01:00
sha256 = "1lx7p1c7cl21byvfgw92n8dhm09vi6qxrs0zkx9dg3y096zdzmlr";
};
2015-04-05 06:22:12 +01:00
configureflags= "--with-introspection";
2014-01-19 22:14:11 +00:00
propagatedBuildInputs = [ glib gobjectIntrospection ];
nativeBuildInputs = [ pkgconfig ];
2016-06-17 01:42:15 +01:00
buildInputs = libintlOrEmpty;
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
2016-12-09 14:47:12 +00:00
outputs = [ "out" "dev" ];
2014-05-19 09:55:16 +01:00
meta = with stdenv.lib; {
homepage = http://live.gnome.org/JsonGlib;
description = "A library providing (de)serialization support for the JavaScript Object Notation (JSON) format";
2014-05-19 09:55:16 +01:00
license = licenses.lgpl2;
maintainers = with maintainers; [ lethalman ];
platforms = with platforms; unix;
};
}