Merge pull request #175379 from 0xnook/framesh

This commit is contained in:
Sandro 2022-07-15 12:09:23 +02:00 committed by GitHub
commit 1ebd0737c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 0 deletions

View File

@ -9286,6 +9286,12 @@
githubId = 40049608; githubId = 40049608;
name = "Andy Chun"; name = "Andy Chun";
}; };
nook = {
name = "Tom Nook";
email = "0xnook@protonmail.com";
github = "0xnook";
githubId = 88323754;
};
noreferences = { noreferences = {
email = "norkus@norkus.net"; email = "norkus@norkus.net";
github = "jozuas"; github = "jozuas";

View File

@ -0,0 +1,35 @@
{ lib, fetchurl, appimageTools }:
let
pname = "framesh";
version = "0.5.0-beta.20";
src = fetchurl {
url = "https://github.com/floating/frame/releases/download/v${version}/Frame-${version}.AppImage";
sha256 = "sha256-4PU3f5e9NJYnP49nVtCjbGXxWJDCJIArzuaLsWB3Cx0=";
};
appimageContents = appimageTools.extractType2 {
inherit pname version src;
};
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
ln -s $out/bin/${pname}-${version} $out/bin/${pname}
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
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 ];
};
}

View File

@ -15853,6 +15853,8 @@ with pkgs;
frame = callPackage ../development/libraries/frame { }; frame = callPackage ../development/libraries/frame { };
framesh = callPackage ../applications/blockchains/framesh { };
frp = callPackage ../tools/networking/frp { }; frp = callPackage ../tools/networking/frp { };
fsatrace = callPackage ../development/tools/misc/fsatrace { }; fsatrace = callPackage ../development/tools/misc/fsatrace { };