mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
jsonrpc-glib: init at 3.28.1
This commit is contained in:
parent
b2c565eee5
commit
80b5f5227e
40
pkgs/development/libraries/jsonrpc-glib/default.nix
Normal file
40
pkgs/development/libraries/jsonrpc-glib/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ stdenv, fetchurl, meson, ninja, glib, json-glib, pkgconfig, gobjectIntrospection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_43, gnome3 }:
|
||||
let
|
||||
version = "3.28.1";
|
||||
pname = "jsonrpc-glib";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection vala gtk-doc docbook_xsl docbook_xml_dtd_43 ];
|
||||
buildInputs = [ glib json-glib ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0avff2ldjvwrb8rnzlgslagdjf6x7bmdx69rsq20k6f38icw4ang";
|
||||
};
|
||||
|
||||
mesonFlags = [
|
||||
"-Denable_gtk_doc=true"
|
||||
];
|
||||
|
||||
# Tests fail non-deterministically
|
||||
# https://gitlab.gnome.org/GNOME/jsonrpc-glib/issues/2
|
||||
doCheck = false;
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A library to communicate using the JSON-RPC 2.0 specification";
|
||||
homepage = https://gitlab.gnome.org/GNOME/jsonrpc-glib;
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = gnome3.maintainers;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -9827,6 +9827,8 @@ with pkgs;
|
||||
emscripten = emscripten.override {python=python2;};
|
||||
};
|
||||
|
||||
jsonrpc-glib = callPackage ../development/libraries/jsonrpc-glib { };
|
||||
|
||||
libjson = callPackage ../development/libraries/libjson { };
|
||||
|
||||
libb64 = callPackage ../development/libraries/libb64 { };
|
||||
|
Loading…
Reference in New Issue
Block a user