Update cosmic-web-apps

This commit is contained in:
2025-11-01 11:57:18 +01:00
parent 1451494f95
commit 3df6d08b36

View File

@@ -1,6 +1,5 @@
{ {
lib, lib,
pkgconfig,
fetchFromGitHub, fetchFromGitHub,
openssl, openssl,
git, git,
@@ -12,6 +11,7 @@
gtk3, gtk3,
webkitgtk_4_1, webkitgtk_4_1,
wayland, wayland,
makeBinaryWrapper,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@@ -47,7 +47,7 @@ rustPlatform.buildRustPackage rec {
wayland wayland
glib glib
libxkbcommon libxkbcommon
pkgconfig pkg-config
openssl openssl
git git
gtk3 gtk3
@@ -56,9 +56,10 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
pkg-config pkg-config
makeBinaryWrapper
]; ];
postFixup = '' postInstall = ''
wrapProgram $out/bin/dev-heppen-webapps \ wrapProgram $out/bin/dev-heppen-webapps \
--prefix LD_LIBRARY_PATH : ${ --prefix LD_LIBRARY_PATH : ${
lib.makeLibraryPath [ lib.makeLibraryPath [
@@ -68,10 +69,10 @@ rustPlatform.buildRustPackage rec {
} }
''; '';
meta = with lib; { meta = {
description = " Web applications at your fingertips."; description = " Web applications at your fingertips.";
homepage = "https://github.com/cosmic-utils/web-apps"; homepage = "https://github.com/cosmic-utils/web-apps";
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ berrij ]; maintainers = with lib.maintainers; [ berrij ];
}; };
} }