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 { 2 lib, 3 autoreconfHook, 4 - fetchhg, 5 fltk, 6 libXcursor, 7 libXi, 8 libXinerama, 9 libjpeg, 10 libpng, 11 - mbedtls_2, 12 openssl, 13 perl, 14 pkg-config, 15 stdenv, 16 which, 17 }: 18 19 - stdenv.mkDerivation { 20 pname = "dillo"; 21 - version = "3.0.5-unstable-2021-02-09"; 22 23 - src = fetchhg { 24 - url = "https://hg.sr.ht/~seirdy/dillo-mirror"; 25 - rev = "67b70f024568b505633524be61fcfbde5337849f"; 26 - hash = "sha256-lbn5u9oEL0zt9yBhznBS9Dz9/6kSwRDJeNXKEojty1g="; 27 }; 28 29 nativeBuildInputs = [ ··· 35 36 buildInputs = [ 37 fltk 38 libXcursor 39 libXi 40 libXinerama 41 libjpeg 42 libpng 43 - mbedtls_2 44 - openssl 45 perl 46 ]; 47 48 outputs = [ "out" "doc" "man" ]; 49 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 strictDeps = true; 60 61 meta = { 62 - homepage = "https://hg.sr.ht/~seirdy/dillo-mirror"; 63 description = "A fast graphical web browser with a small footprint"; 64 longDescription = '' 65 - Dillo is a small, fast web browser, tailored for older machines. 66 ''; 67 mainProgram = "dillo"; 68 maintainers = with lib.maintainers; [ AndersonTorres ]; 69 license = lib.licenses.gpl3Plus; 70 platforms = lib.platforms.linux; 71 }; 72 - }
··· 1 { 2 lib, 3 autoreconfHook, 4 + fetchFromGitHub, 5 fltk, 6 + giflib, 7 libXcursor, 8 libXi, 9 libXinerama, 10 libjpeg, 11 libpng, 12 + libressl, 13 + mbedtls, 14 openssl, 15 perl, 16 pkg-config, 17 stdenv, 18 which, 19 + # Configurable options 20 + tlsLibrary? "libressl" 21 }: 22 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: { 31 pname = "dillo"; 32 + version = "3.1.0"; 33 34 + src = fetchFromGitHub { 35 + owner = "dillo-browser"; 36 + repo = "dillo"; 37 + rev = "v${finalAttrs.version}"; 38 + hash = "sha256-AqffkUPLvVSGq9iYksyvHf3HQ3DLWNlB3CYw4GCAAEI="; 39 }; 40 41 nativeBuildInputs = [ ··· 47 48 buildInputs = [ 49 fltk 50 + giflib 51 libXcursor 52 libXi 53 libXinerama 54 libjpeg 55 libpng 56 perl 57 + ssl 58 ]; 59 60 outputs = [ "out" "doc" "man" ]; 61 62 strictDeps = true; 63 64 meta = { 65 + homepage = "https://dillo-browser.github.io/"; 66 description = "A fast graphical web browser with a small footprint"; 67 longDescription = '' 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. 81 ''; 82 mainProgram = "dillo"; 83 maintainers = with lib.maintainers; [ AndersonTorres ]; 84 license = lib.licenses.gpl3Plus; 85 platforms = lib.platforms.linux; 86 }; 87 + })