2021-01-17 02:09:27 +00:00
|
|
|
{ stdenv, lib, fetchurl, meson, ninja, pkg-config, zathura_core
|
2019-03-10 20:04:56 +00:00
|
|
|
, girara, gettext, libarchive }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "zathura-cb";
|
2019-03-10 20:04:56 +00:00
|
|
|
version = "0.1.8";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2020-03-25 07:31:52 +00:00
|
|
|
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
|
2019-03-10 20:04:56 +00:00
|
|
|
sha256 = "1i6cf0vks501cggwvfsl6qb7mdaf3sszdymphimfvnspw810faj5";
|
|
|
|
};
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config gettext ];
|
2019-03-10 20:04:56 +00:00
|
|
|
buildInputs = [ libarchive zathura_core girara ];
|
|
|
|
|
|
|
|
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-02-26 14:39:58 +00:00
|
|
|
homepage = "https://pwmt.org/projects/zathura-cb/";
|
2019-03-10 20:04:56 +00:00
|
|
|
description = "A zathura CB plugin";
|
|
|
|
longDescription = ''
|
|
|
|
The zathura-cb plugin adds comic book support to zathura.
|
|
|
|
'';
|
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ jlesquembre ];
|
|
|
|
};
|
|
|
|
}
|