mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
Merge pull request #175379 from 0xnook/framesh
This commit is contained in:
commit
1ebd0737c7
@ -9286,6 +9286,12 @@
|
||||
githubId = 40049608;
|
||||
name = "Andy Chun";
|
||||
};
|
||||
nook = {
|
||||
name = "Tom Nook";
|
||||
email = "0xnook@protonmail.com";
|
||||
github = "0xnook";
|
||||
githubId = 88323754;
|
||||
};
|
||||
noreferences = {
|
||||
email = "norkus@norkus.net";
|
||||
github = "jozuas";
|
||||
|
35
pkgs/applications/blockchains/framesh/default.nix
Normal file
35
pkgs/applications/blockchains/framesh/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -15853,6 +15853,8 @@ with pkgs;
|
||||
|
||||
frame = callPackage ../development/libraries/frame { };
|
||||
|
||||
framesh = callPackage ../applications/blockchains/framesh { };
|
||||
|
||||
frp = callPackage ../tools/networking/frp { };
|
||||
|
||||
fsatrace = callPackage ../development/tools/misc/fsatrace { };
|
||||
|
Loading…
Reference in New Issue
Block a user