Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
1.4 KiB
Nix
44 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
appimageTools,
|
|
makeWrapper,
|
|
}:
|
|
|
|
let
|
|
pname = "framesh";
|
|
version = "0.6.11";
|
|
src = fetchurl {
|
|
url = "https://github.com/floating/frame/releases/download/v${version}/Frame-${version}.AppImage";
|
|
hash = "sha256-t60jsA4ojXF805OUrqIOdk8eP9PlwA/g0XxEBCahmb4=";
|
|
};
|
|
|
|
appimageContents = appimageTools.extractType2 {
|
|
inherit pname version src;
|
|
};
|
|
in
|
|
appimageTools.wrapType2 {
|
|
inherit pname version src;
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
extraInstallCommands = ''
|
|
install -m 444 -D ${appimageContents}/frame.desktop $out/share/applications/frame.desktop
|
|
install -m 444 -D ${appimageContents}/frame.png \
|
|
$out/share/icons/hicolor/512x512/apps/frame.png
|
|
wrapProgram "$out/bin/${pname}" \
|
|
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}"
|
|
|
|
substituteInPlace $out/share/applications/frame.desktop \
|
|
--replace 'Exec=AppRun' 'Exec=${pname}'
|
|
'';
|
|
|
|
meta = {
|
|
description = "Native web3 interface that lets you sign data, securely manage accounts and transparently interact with dapps via web3 protocols like Ethereum and IPFS";
|
|
homepage = "https://frame.sh/";
|
|
downloadPage = "https://github.com/floating/frame/releases";
|
|
license = lib.licenses.gpl3Only;
|
|
platforms = [ "x86_64-linux" ];
|
|
maintainers = with lib.maintainers; [ nook ];
|
|
};
|
|
}
|