mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
applications/misc/zathura: New nixbuild.
svn path=/nixpkgs/trunk/; revision=22057
This commit is contained in:
parent
5a59b1b55d
commit
2cc92567a2
27
pkgs/applications/misc/zathura/default.nix
Normal file
27
pkgs/applications/misc/zathura/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk, poppler }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "zathura-0.0.5";
|
||||
src = fetchurl {
|
||||
#url = "https://pwmt.org/zathura/download/{name}.tar.gz"
|
||||
# Site's SSL cert is invalid, and I dunno how to pass --insecure to curl.
|
||||
# Thanks Mark Weber for mirroring this tarball.
|
||||
url = "http://mawercer.de/~nix/${name}.tar.gz";
|
||||
sha256 = "e4dfbcceafc7bcb5c4e1ff349822c610db6378906ab65aabba8be246d7ee9b52";
|
||||
};
|
||||
buildInputs = [ pkgconfig gtk poppler ];
|
||||
patchPhase = ''
|
||||
substituteInPlace config.mk --replace 'PREFIX = /usr' "PREFIX = $out"
|
||||
'';
|
||||
meta = {
|
||||
homepage = https://pwmt.org/zathura/;
|
||||
description = "A highly customizable and functional PDF viewer";
|
||||
longDescription = ''
|
||||
zathura is a highly customizable and functional PDF viewer based on the
|
||||
poppler rendering library and the gtk+ toolkit. The idea behind zathura
|
||||
is an application that provides a minimalistic and space saving interface
|
||||
as well as an easy usage that mainly focuses on keyboard interaction.
|
||||
'';
|
||||
license = "free";
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
}
|
@ -8992,6 +8992,10 @@ let
|
||||
recordingSupport = true;
|
||||
};
|
||||
|
||||
zathura = import ../applications/misc/zathura {
|
||||
inherit stdenv fetchurl pkgconfig poppler;
|
||||
inherit (gtkLibs) gtk;
|
||||
};
|
||||
|
||||
### GAMES
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user