nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 52 lines 1.0 kB view raw
1{ 2 stdenv, 3 lib, 4 fetchurl, 5 meson, 6 ninja, 7 pkg-config, 8 zathura_core, 9 girara, 10 gettext, 11 libarchive, 12 desktop-file-utils, 13 appstream-glib, 14}: 15 16stdenv.mkDerivation (finalAttrs: { 17 pname = "zathura-cb"; 18 version = "0.1.11"; 19 20 src = fetchurl { 21 url = "https://pwmt.org/projects/zathura-cb/download/zathura-cb-${finalAttrs.version}.tar.xz"; 22 hash = "sha256-TiAepUzcIKkyWMQ1VvY4lEGvmXQN59ymyh/1JBcvvUc="; 23 }; 24 25 nativeBuildInputs = [ 26 meson 27 ninja 28 pkg-config 29 gettext 30 desktop-file-utils 31 appstream-glib 32 ]; 33 34 buildInputs = [ 35 libarchive 36 zathura_core 37 girara 38 ]; 39 40 env.PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura"; 41 42 meta = { 43 homepage = "https://pwmt.org/projects/zathura-cb/"; 44 description = "Zathura CB plugin"; 45 longDescription = '' 46 The zathura-cb plugin adds comic book support to zathura. 47 ''; 48 license = lib.licenses.zlib; 49 platforms = lib.platforms.unix; 50 maintainers = with lib.maintainers; [ jlesquembre ]; 51 }; 52})