2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, glib, gobject-introspection, gnome3
|
2016-09-18 20:35:23 +01:00
|
|
|
, webkitgtk, libsoup, libxml2, libarchive }:
|
2018-03-03 00:50:15 +00:00
|
|
|
|
2018-12-25 03:17:20 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 00:50:15 +00:00
|
|
|
pname = "libgepub";
|
2018-03-13 01:03:18 +00:00
|
|
|
version = "0.6.0";
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2018-03-13 01:03:18 +00:00
|
|
|
sha256 = "16dkyywqdnfngmwsgbyga0kl9vcnzczxi3lmhm27pifrq5f3k2n7";
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config gobject-introspection ];
|
2017-09-19 03:30:07 +01:00
|
|
|
buildInputs = [ glib webkitgtk libsoup libxml2 libarchive ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-03 00:50:15 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-09-18 20:35:23 +01:00
|
|
|
description = "GObject based library for handling and rendering epub documents";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
}
|