litebrowser: init at unstable-2022-10-31

+57
+55
pkgs/applications/networking/browsers/litebrowser/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , gtk3 7 + , gtkmm3 8 + , curl 9 + , poco 10 + , gumbo # litehtml dependency 11 + }: 12 + 13 + stdenv.mkDerivation { 14 + pname = "litebrowser"; 15 + version = "unstable-2022-10-31"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "litehtml"; 19 + repo = "litebrowser-linux"; 20 + rev = "4654f8fb2d5e2deba7ac6223b6639341bd3b7eba"; 21 + hash = "sha256-SvW1AOxLBLKqa+/2u2Zn+/t33ZzQHmqlcLRl6z0rK9U="; 22 + fetchSubmodules = true; # litehtml submodule 23 + }; 24 + 25 + nativeBuildInputs = [ 26 + cmake 27 + pkg-config 28 + ]; 29 + 30 + buildInputs = [ 31 + gtk3 32 + gtkmm3 33 + curl 34 + poco 35 + gumbo 36 + ]; 37 + 38 + cmakeFlags = [ 39 + "-DEXTERNAL_GUMBO=ON" 40 + ]; 41 + 42 + installPhase = '' 43 + runHook preInstall 44 + install -Dm755 litebrowser $out/bin/litebrowser 45 + runHook postInstall 46 + ''; 47 + 48 + meta = with lib; { 49 + description = "A simple browser based on the litehtml engine"; 50 + homepage = "https://github.com/litehtml/litebrowser-linux"; 51 + license = licenses.bsd3; 52 + platforms = platforms.unix; 53 + maintainers = with maintainers; [ fgaz ]; 54 + }; 55 + }
+2
pkgs/top-level/all-packages.nix
··· 29946 29946 29947 29947 lingot = callPackage ../applications/audio/lingot { }; 29948 29948 29949 + litebrowser = callPackage ../applications/networking/browsers/litebrowser { }; 29950 + 29949 29951 littlegptracker = callPackage ../applications/audio/littlegptracker { 29950 29952 inherit (darwin.apple_sdk.frameworks) Foundation; 29951 29953 };