mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
goffice: add updateScript
This commit is contained in:
parent
daaba731a7
commit
bdf46079f5
1 changed files with 10 additions and 3 deletions
|
@ -1,11 +1,12 @@
|
|||
{ fetchurl, stdenv, pkgconfig, intltool, glib, gtk3
|
||||
, libgsf, libxml2, libxslt, cairo, pango, librsvg }:
|
||||
, libgsf, libxml2, libxslt, cairo, pango, librsvg, gnome3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "goffice-0.10.44";
|
||||
pname = "goffice";
|
||||
version = "0.10.44";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/goffice/0.10/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d";
|
||||
};
|
||||
|
||||
|
@ -20,6 +21,12 @@ stdenv.mkDerivation rec {
|
|||
enableParallelBuilding = true;
|
||||
doCheck = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A Glib/GTK+ set of document centric objects and utilities";
|
||||
|
||||
|
|
Loading…
Reference in a new issue