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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

56 lines
959 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, meson
, ninja
, pkg-config
, glib
, gobject-introspection
, gnome
, webkitgtk_4_1
, libsoup_3
, libxml2
, libarchive
}:
2018-03-03 01:50:15 +01:00
2018-12-25 04:17:20 +01:00
stdenv.mkDerivation rec {
2018-03-03 01:50:15 +01:00
pname = "libgepub";
version = "0.7.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "o+SzGiMmWdJqVLkSGziCw9c5fDz0SuXGS4ZwCYC8f2A=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
];
buildInputs = [
glib
webkitgtk_4_1
libsoup_3
libxml2
libarchive
];
doCheck = true;
2018-03-03 01:50:15 +01:00
passthru = {
updateScript = gnome.updateScript {
2018-03-03 01:50:15 +01:00
packageName = pname;
versionPolicy = "none";
};
};
meta = with lib; {
description = "GObject based library for handling and rendering epub documents";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = teams.gnome.members;
};
}