Merge pull request #187379 from AndersonTorres/dillo

dillo: 3.0.5 -> 2021-02-09
This commit is contained in:
Anderson Torres 2022-08-19 22:29:34 -03:00 committed by GitHub
commit 674a334425
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,37 +1,63 @@
{ lib, stdenv, fetchurl { lib
, stdenv
, fetchhg
, autoreconfHook
, fltk , fltk
, libXcursor
, libXi
, libXinerama
, libjpeg
, libpng
, mbedtls
, openssl , openssl
, libjpeg, libpng
, perl , perl
, libXcursor, libXi, libXinerama }: , pkg-config
, which
}:
stdenv.mkDerivation rec { stdenv.mkDerivation {
version = "3.0.5";
pname = "dillo"; pname = "dillo";
version = "unstable-2021-02-09";
src = fetchurl { src = fetchhg {
url = "https://www.dillo.org/download/${pname}-${version}.tar.bz2"; url = "https://hg.sr.ht/~seirdy/dillo-mirror";
sha256 = "12ql8n1lypv3k5zqgwjxlw1md90ixz3ag6j1gghfnhjq3inf26yv"; rev = "67b70f024568b505633524be61fcfbde5337849f";
sha256 = "sha256-lbn5u9oEL0zt9yBhznBS9Dz9/6kSwRDJeNXKEojty1g=";
}; };
buildInputs = with lib; nativeBuildInputs = [
[ perl fltk openssl libjpeg libpng libXcursor libXi libXinerama ]; autoreconfHook
pkg-config
which
];
buildInputs = [
fltk
libXcursor
libXi
libXinerama
libjpeg
libpng
mbedtls
openssl
perl
];
# Workaround build failure on -fno-common toolchains: # Workaround build failure on -fno-common toolchains:
# ld: main.o:/build/dillo-3.0.5/dpid/dpid.h:64: multiple definition of `sock_set'; # ld: main.o:/build/dillo-3.0.5/dpid/dpid.h:64: multiple definition of `sock_set';
# dpid.o:/build/dillo-3.0.5/dpid/dpid.h:64: first defined here # dpid.o:/build/dillo-3.0.5/dpid/dpid.h:64: first defined here
NIX_CFLAGS_COMPILE = "-fcommon"; NIX_CFLAGS_COMPILE = "-fcommon";
configureFlags = [ "--enable-ssl" ]; configureFlags = [ "--enable-ssl=yes" ];
meta = with lib; { meta = with lib; {
homepage = "https://www.dillo.org/"; homepage = "https://hg.sr.ht/~seirdy/dillo-mirror";
description = "A fast graphical web browser with a small footprint"; description = "A fast graphical web browser with a small footprint";
longDescription = '' longDescription = ''
Dillo is a small, fast web browser, tailored for older machines. Dillo is a small, fast web browser, tailored for older machines.
''; '';
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux; platforms = platforms.linux;
license = licenses.gpl3; license = licenses.gpl3Plus;
}; };
} }