1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/misc/fbreader/default.nix

36 lines
946 B
Nix
Raw Normal View History

{ 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"
'';
2013-11-09 16:47:43 +00:00
meta = with stdenv.lib; {
description = "An e-book reader for Linux";
homepage = http://www.fbreader.org/;
2013-11-09 16:47:43 +00:00
license = licenses.gpl3;
platforms = platforms.linux; # possibly also on unix general
maintainer = [ maintainers.coroa ];
};
}