dillo: 3.0.5-unstable-2021-02-09 -> 3.1.0

Dillo is now under new direction!

authored by Anderson Torres and committed by Francesco Gazzetta 0e97dafe dc675957

+37 -22
+37 -22
pkgs/by-name/di/dillo/package.nix
··· 1 1 { 2 2 lib, 3 3 autoreconfHook, 4 - fetchhg, 4 + fetchFromGitHub, 5 5 fltk, 6 + giflib, 6 7 libXcursor, 7 8 libXi, 8 9 libXinerama, 9 10 libjpeg, 10 11 libpng, 11 - mbedtls_2, 12 + libressl, 13 + mbedtls, 12 14 openssl, 13 15 perl, 14 16 pkg-config, 15 17 stdenv, 16 18 which, 19 + # Configurable options 20 + tlsLibrary? "libressl" 17 21 }: 18 22 19 - stdenv.mkDerivation { 23 + let 24 + ssl = { 25 + "libressl" = libressl; 26 + "mbedtls" = mbedtls; 27 + "openssl" = openssl; 28 + }.${tlsLibrary} or (throw "Unrecognized tlsLibrary option: ${tlsLibrary}"); 29 + in 30 + stdenv.mkDerivation (finalAttrs: { 20 31 pname = "dillo"; 21 - version = "3.0.5-unstable-2021-02-09"; 32 + version = "3.1.0"; 22 33 23 - src = fetchhg { 24 - url = "https://hg.sr.ht/~seirdy/dillo-mirror"; 25 - rev = "67b70f024568b505633524be61fcfbde5337849f"; 26 - hash = "sha256-lbn5u9oEL0zt9yBhznBS9Dz9/6kSwRDJeNXKEojty1g="; 34 + src = fetchFromGitHub { 35 + owner = "dillo-browser"; 36 + repo = "dillo"; 37 + rev = "v${finalAttrs.version}"; 38 + hash = "sha256-AqffkUPLvVSGq9iYksyvHf3HQ3DLWNlB3CYw4GCAAEI="; 27 39 }; 28 40 29 41 nativeBuildInputs = [ ··· 35 47 36 48 buildInputs = [ 37 49 fltk 50 + giflib 38 51 libXcursor 39 52 libXi 40 53 libXinerama 41 54 libjpeg 42 55 libpng 43 - mbedtls_2 44 - openssl 45 56 perl 57 + ssl 46 58 ]; 47 59 48 60 outputs = [ "out" "doc" "man" ]; 49 61 50 - configureFlags = [ 51 - (lib.enableFeature true "ssl") 52 - ]; 53 - 54 - # Workaround build failure on -fno-common toolchains: 55 - # ld: main.o:/build/dillo-3.0.5/dpid/dpid.h:64: multiple definition of `sock_set'; 56 - # dpid.o:/build/dillo-3.0.5/dpid/dpid.h:64: first defined here 57 - env.NIX_CFLAGS_COMPILE = "-fcommon"; 58 - 59 62 strictDeps = true; 60 63 61 64 meta = { 62 - homepage = "https://hg.sr.ht/~seirdy/dillo-mirror"; 65 + homepage = "https://dillo-browser.github.io/"; 63 66 description = "A fast graphical web browser with a small footprint"; 64 67 longDescription = '' 65 - Dillo is a small, fast web browser, tailored for older machines. 68 + Dillo is a fast and small graphical web browser with the following 69 + features: 70 + 71 + - Multi-platform, running on Linux, BSD, MacOS, Windows (via Cygwin) and 72 + even Atari. 73 + - Written in C and C++ with few dependencies. 74 + - Implements its own real-time rendering engine. 75 + - Low memory usage and fast rendering, even with large pages. 76 + - Uses the fast and bloat-free FLTK GUI library. 77 + - Support for HTTP, HTTPS, FTP and local files. 78 + - Extensible with plugins written in any language. 79 + - Is free software licensed with the GPLv3. 80 + - Helps authors to comply with web standards by using the bug meter. 66 81 ''; 67 82 mainProgram = "dillo"; 68 83 maintainers = with lib.maintainers; [ AndersonTorres ]; 69 84 license = lib.licenses.gpl3Plus; 70 85 platforms = lib.platforms.linux; 71 86 }; 72 - } 87 + })