mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Merge pull request #188265 from steveeJ-forks/pr-holochain-launcher-bin
This commit is contained in:
commit
0c8ac7b519
@ -174,6 +174,11 @@ in mkLicense lset) ({
|
||||
free = false;
|
||||
};
|
||||
|
||||
cal10 = {
|
||||
fullName = "Cryptographic Autonomy License version 1.0 (CAL-1.0)";
|
||||
url = "https://opensource.org/licenses/CAL-1.0";
|
||||
};
|
||||
|
||||
capec = {
|
||||
fullName = "Common Attack Pattern Enumeration and Classification";
|
||||
url = "https://capec.mitre.org/about/termsofuse.html";
|
||||
|
52
pkgs/applications/misc/holochain-launcher/default.nix
Normal file
52
pkgs/applications/misc/holochain-launcher/default.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, autoPatchelfHook
|
||||
, pkg-config
|
||||
, dpkg
|
||||
, openssl
|
||||
, webkitgtk
|
||||
, libappindicator
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "holochain-launcher";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/holochain/launcher/releases/download/v${version}/holochain-launcher_${version}_amd64.deb";
|
||||
sha256 = "sha256-o9cUFtq5XUkbC3yFRFiV2k4uWjb+szlE8qV+G9Gve5E=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
dpkg
|
||||
wrapGAppsHook # required for FileChooser
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
webkitgtk
|
||||
libappindicator
|
||||
];
|
||||
|
||||
unpackCmd = "dpkg-deb -x $curSrc source";
|
||||
|
||||
installPhase = ''
|
||||
mv usr $out
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
patchelf --add-needed "libappindicator3.so" "$out/bin/holochain-launcher"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A cross-platform executable that launches a local Holochain conductor, and installs and opens apps";
|
||||
homepage = "https://github.com/holochain/launcher";
|
||||
maintainers = [ maintainers.steveej ];
|
||||
license = licenses.cal10;
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -7596,6 +7596,8 @@ with pkgs;
|
||||
|
||||
hockeypuck-web = callPackage ../servers/hockeypuck/web.nix { };
|
||||
|
||||
holochain-launcher = callPackage ../applications/misc/holochain-launcher { };
|
||||
|
||||
homesick = callPackage ../tools/misc/homesick { };
|
||||
|
||||
honcho = callPackage ../tools/system/honcho { };
|
||||
|
Loading…
Reference in New Issue
Block a user