9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
32 lines
914 B
Nix
32 lines
914 B
Nix
{ stdenv, fetchurl, meson, ninja, pkg-config, glib, gobject-introspection, gnome3
|
|
, webkitgtk, libsoup, libxml2, libarchive }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libgepub";
|
|
version = "0.6.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "16dkyywqdnfngmwsgbyga0kl9vcnzczxi3lmhm27pifrq5f3k2n7";
|
|
};
|
|
|
|
doCheck = true;
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config gobject-introspection ];
|
|
buildInputs = [ glib webkitgtk libsoup libxml2 libarchive ];
|
|
|
|
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;
|
|
};
|
|
}
|