nixpkgs/pkgs/desktops/gnome-3/core/libgepub/default.nix

24 lines
749 B
Nix
Raw Normal View History

2017-09-19 05:30:07 +03:00
{ stdenv, fetchurl, meson, ninja, pkgconfig, glib, gobjectIntrospection, gnome3
, webkitgtk, libsoup, libxml2, libarchive }:
stdenv.mkDerivation rec {
2017-09-19 05:30:07 +03:00
name = "libgepub-${version}.2";
version = "0.5";
src = fetchurl {
url = "mirror://gnome/sources/libgepub/${version}/${name}.tar.xz";
2017-09-19 05:30:07 +03:00
sha256 = "0f1bczy3b00kj7mhm80xgpcgibh8h0pgcr46l4wifi45jacji0w4";
};
doCheck = true;
2017-09-19 05:30:07 +03:00
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ];
buildInputs = [ glib webkitgtk libsoup libxml2 libarchive ];
meta = with stdenv.lib; {
description = "GObject based library for handling and rendering epub documents";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = gnome3.maintainers;
};
}