mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
gfbgraph: 0.2.4 → 0.2.5
https://gitlab.gnome.org/GNOME/libgfbgraph/-/commits/v_0_2_5 Fixes CVE-2021-39358
This commit is contained in:
parent
2deb07f3ac
commit
4dde1d266c
1 changed files with 35 additions and 19 deletions
|
@ -1,36 +1,52 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, glib, librest, gnome-online-accounts
|
||||
, gnome, libsoup, json-glib, gobject-introspection
|
||||
, gtk-doc, pkgs, docbook-xsl-nons, autoconf, automake, libtool }:
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, glib
|
||||
, librest
|
||||
, gnome-online-accounts
|
||||
, gnome
|
||||
, libsoup
|
||||
, json-glib
|
||||
, gobject-introspection
|
||||
, gtk-doc
|
||||
, pkgs
|
||||
, docbook-xsl-nons
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gfbgraph";
|
||||
version = "0.2.4";
|
||||
version = "0.2.5";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0";
|
||||
sha256 = "nLOBs/eLoRNt+Xrz8G47EdzCqzOawI907aD4BX1mA+M=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config gobject-introspection gtk-doc
|
||||
docbook-xsl-nons autoconf automake libtool
|
||||
pkg-config
|
||||
gobject-introspection
|
||||
gtk-doc
|
||||
docbook-xsl-nons
|
||||
];
|
||||
buildInputs = [ glib gnome-online-accounts ];
|
||||
propagatedBuildInputs = [ libsoup json-glib librest ];
|
||||
|
||||
configureFlags = [ "--enable-introspection" "--enable-gtk-doc" ];
|
||||
buildInputs = [
|
||||
glib
|
||||
gnome-online-accounts
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
patchShebangs autogen.sh
|
||||
substituteInPlace autogen.sh \
|
||||
--replace "which" "${pkgs.which}/bin/which"
|
||||
'';
|
||||
propagatedBuildInputs = [
|
||||
libsoup
|
||||
json-glib
|
||||
librest
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
'';
|
||||
configureFlags = [
|
||||
"--enable-introspection"
|
||||
"--enable-gtk-doc"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -45,7 +61,7 @@ stdenv.mkDerivation rec {
|
|||
homepage = "https://wiki.gnome.org/Projects/GFBGraph";
|
||||
description = "GLib/GObject wrapper for the Facebook Graph API";
|
||||
maintainers = teams.gnome.members;
|
||||
license = licenses.lgpl2;
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue