blob: 9805f19c469369f2341c178132ead4ced60d3311 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
lib,
stdenv,
fetchurl,
meson,
ninja,
pkg-config,
gtk,
zathura_core,
girara,
djvulibre,
gettext,
}:
stdenv.mkDerivation rec {
pname = "zathura-djvu";
version = "0.2.9";
src = fetchurl {
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
hash = "sha256-lub4pu5TIxBzsvcAMmSHL4RQHmPD2nvwWY0EYoawwgA=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
djvulibre
gettext
zathura_core
gtk
girara
];
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
meta = with lib; {
homepage = "https://pwmt.org/projects/zathura-djvu/";
description = "A zathura DJVU plugin";
longDescription = ''
The zathura-djvu plugin adds DjVu support to zathura by using the
djvulibre library.
'';
license = licenses.zlib;
platforms = platforms.unix;
maintainers = with maintainers; [ ];
};
}
|