1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/by-name/di/dillo/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

88 lines
1.9 KiB
Nix

{
lib,
autoreconfHook,
fetchFromGitHub,
fltk,
giflib,
libXcursor,
libXi,
libXinerama,
libjpeg,
libpng,
libressl,
mbedtls,
openssl,
perl,
pkg-config,
stdenv,
which,
# Configurable options
tlsLibrary? "libressl"
}:
let
ssl = {
"libressl" = libressl;
"mbedtls" = mbedtls;
"openssl" = openssl;
}.${tlsLibrary} or (throw "Unrecognized tlsLibrary option: ${tlsLibrary}");
in
stdenv.mkDerivation (finalAttrs: {
pname = "dillo";
version = "3.1.1";
src = fetchFromGitHub {
owner = "dillo-browser";
repo = "dillo";
rev = "v${finalAttrs.version}";
hash = "sha256-bGIOYONMtIN4IhSobOeSLiRDR13mo4W/DBX4kQ2S+hg=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
fltk
which
];
buildInputs = [
fltk
giflib
libXcursor
libXi
libXinerama
libjpeg
libpng
perl
ssl
];
outputs = [ "out" "doc" "man" ];
strictDeps = true;
meta = {
homepage = "https://dillo-browser.github.io/";
description = "Fast graphical web browser with a small footprint";
longDescription = ''
Dillo is a fast and small graphical web browser with the following
features:
- Multi-platform, running on Linux, BSD, MacOS, Windows (via Cygwin) and
even Atari.
- Written in C and C++ with few dependencies.
- Implements its own real-time rendering engine.
- Low memory usage and fast rendering, even with large pages.
- Uses the fast and bloat-free FLTK GUI library.
- Support for HTTP, HTTPS, FTP and local files.
- Extensible with plugins written in any language.
- Is free software licensed with the GPLv3.
- Helps authors to comply with web standards by using the bug meter.
'';
mainProgram = "dillo";
maintainers = with lib.maintainers; [ AndersonTorres ];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
};
})