mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
29 lines
849 B
Nix
29 lines
849 B
Nix
{ stdenv, lib, fetchurl, meson, ninja, pkgconfig, zathura_core
|
|
, girara, gettext, libarchive }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zathura-cb";
|
|
version = "0.1.8";
|
|
|
|
src = fetchurl {
|
|
url = "https://pwmt.org/projects/zathura/plugins/download/${pname}-${version}.tar.xz";
|
|
sha256 = "1i6cf0vks501cggwvfsl6qb7mdaf3sszdymphimfvnspw810faj5";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
|
|
buildInputs = [ libarchive zathura_core girara ];
|
|
|
|
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
|
|
|
|
meta = with lib; {
|
|
homepage = https://pwmt.org/projects/zathura-cb/;
|
|
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 ];
|
|
};
|
|
}
|