mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
67 lines
1.2 KiB
Nix
67 lines
1.2 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchurl
|
|
, pkg-config
|
|
, glib
|
|
, librest
|
|
, gnome-online-accounts
|
|
, gnome
|
|
, libsoup
|
|
, json-glib
|
|
, gobject-introspection
|
|
, gtk-doc
|
|
, docbook-xsl-nons
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gfbgraph";
|
|
version = "0.2.5";
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "nLOBs/eLoRNt+Xrz8G47EdzCqzOawI907aD4BX1mA+M=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
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"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "odd-unstable";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.gnome.org/GNOME/libgfbgraph";
|
|
description = "GLib/GObject wrapper for the Facebook Graph API";
|
|
maintainers = teams.gnome.members;
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|