nixpkgs/pkgs/development/libraries/libgepub/default.nix

32 lines
914 B
Nix
Raw Normal View History

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