Add fbreader, an e-book reader for Linux
This commit is contained in:
parent
69221b6046
commit
b260d7111a
34
pkgs/applications/misc/fbreader/default.nix
Normal file
34
pkgs/applications/misc/fbreader/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv, fetchurl, pkgconfig, bzip2, curl, expat, fribidi
|
||||
, libunibreak, qt4, sqlite, zlib }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "fbreader-0.99.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://fbreader.org/files/desktop/fbreader-sources-0.99.4.tgz;
|
||||
sha256 = "1sdq3vvwkq4bkyrvh0p884d66gaddz8hlab3m798ji9ixbak2z1x";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig bzip2 curl expat fribidi libunibreak
|
||||
qt4 sqlite zlib
|
||||
];
|
||||
|
||||
makeFlags = "INSTALLDIR=$(out)";
|
||||
|
||||
patchPhase = ''
|
||||
# don't try to use ccache
|
||||
substituteInPlace makefiles/arch/desktop.mk \
|
||||
--replace "CCACHE = " "# CCACHE = "
|
||||
|
||||
substituteInPlace fbreader/desktop/Makefile \
|
||||
--replace "/usr/share" "$out/share"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An e-book reader for Linux";
|
||||
homepage = http://www.fbreader.org/;
|
||||
license = "GPL";
|
||||
maintainer = [ stdenv.lib.maintainers.coroa ];
|
||||
};
|
||||
}
|
@ -7636,6 +7636,8 @@ let
|
||||
|
||||
fbpanel = callPackage ../applications/window-managers/fbpanel { };
|
||||
|
||||
fbreader = callPackage ../applications/misc/fbreader { };
|
||||
|
||||
fetchmail = import ../applications/misc/fetchmail {
|
||||
inherit stdenv fetchurl openssl;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user