9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
50 lines
1.4 KiB
Nix
50 lines
1.4 KiB
Nix
{ stdenv, fetchurl, pkg-config, glib, librest, gnome-online-accounts
|
|
, gnome3, libsoup, json-glib, gobject-introspection
|
|
, gtk-doc, pkgs, docbook-xsl-nons, autoconf, automake, libtool }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gfbgraph";
|
|
version = "0.2.4";
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config gobject-introspection gtk-doc
|
|
docbook-xsl-nons autoconf automake libtool
|
|
];
|
|
buildInputs = [ glib gnome-online-accounts ];
|
|
propagatedBuildInputs = [ libsoup json-glib librest ];
|
|
|
|
configureFlags = [ "--enable-introspection" "--enable-gtk-doc" ];
|
|
|
|
prePatch = ''
|
|
patchShebangs autogen.sh
|
|
substituteInPlace autogen.sh \
|
|
--replace "which" "${pkgs.which}/bin/which"
|
|
'';
|
|
|
|
preConfigure = ''
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://wiki.gnome.org/Projects/GFBGraph";
|
|
description = "GLib/GObject wrapper for the Facebook Graph API";
|
|
maintainers = teams.gnome.members;
|
|
license = licenses.lgpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|