gnome3.gfbgraph: add updateScript

This commit is contained in:
Jan Tojnar 2018-03-03 09:05:37 +01:00
parent ed2e497286
commit b8b4ae3f4d
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,11 +1,14 @@
{ stdenv, intltool, fetchurl, pkgconfig, glib
, gnome3, libsoup, json-glib }:
stdenv.mkDerivation rec {
name = "gfbgraph-0.2.3";
let
pname = "gfbgraph";
version = "0.2.3";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/gfbgraph/0.2/${name}.tar.xz";
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs";
};
@ -15,6 +18,13 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
description = "GLib/GObject wrapper for the Facebook Graph API";
maintainers = gnome3.maintainers;