at 22.05-pre 26 lines 733 B view raw
1{ mkDerivation, fetchFromGitHub, cmake, pkg-config, lib, 2 qttools, fribidi, libunibreak }: 3 4mkDerivation rec { 5 pname = "coolreader"; 6 version = "3.2.57"; 7 8 src = fetchFromGitHub { 9 owner = "buggins"; 10 repo = pname; 11 rev = "cr${version}"; 12 sha256 = "sha256-ZfgaLCLvBU6xP7nx7YJTsJSpvpdQgLpSMWH+BsG8E1g="; 13 }; 14 15 nativeBuildInputs = [ cmake pkg-config ]; 16 17 buildInputs = [ qttools fribidi libunibreak ]; 18 19 meta = with lib; { 20 homepage = "https://github.com/buggins/coolreader"; 21 description = "Cross platform open source e-book reader"; 22 license = licenses.gpl2Plus; # see https://github.com/buggins/coolreader/issues/80 23 maintainers = with maintainers; [ gebner ]; 24 platforms = platforms.all; 25 }; 26}