gnome3.libgepub: add updateScript
This commit is contained in:
parent
26dc2abc2b
commit
e8ca1348b9
@ -1,11 +1,14 @@
|
|||||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, glib, gobjectIntrospection, gnome3
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, glib, gobjectIntrospection, gnome3
|
||||||
, webkitgtk, libsoup, libxml2, libarchive }:
|
, webkitgtk, libsoup, libxml2, libarchive }:
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "libgepub-${version}.2";
|
let
|
||||||
version = "0.5";
|
pname = "libgepub";
|
||||||
|
version = "0.5.2";
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/libgepub/${version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "0f1bczy3b00kj7mhm80xgpcgibh8h0pgcr46l4wifi45jacji0w4";
|
sha256 = "0f1bczy3b00kj7mhm80xgpcgibh8h0pgcr46l4wifi45jacji0w4";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -14,6 +17,14 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ];
|
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ];
|
||||||
buildInputs = [ glib webkitgtk libsoup libxml2 libarchive ];
|
buildInputs = [ glib webkitgtk libsoup libxml2 libarchive ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
attrPath = "gnome3.${pname}";
|
||||||
|
versionPolicy = "none";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "GObject based library for handling and rendering epub documents";
|
description = "GObject based library for handling and rendering epub documents";
|
||||||
license = licenses.lgpl21Plus;
|
license = licenses.lgpl21Plus;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user