Created
July 17, 2024 02:28
-
-
Save emilien-jegou/af6c8d8da2fed811a8cd7c583eb43888 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
let | |
version = "1.0.5"; | |
src = pkgs.fetchurl { | |
url = "https://github.com/localstack/localstack-desktop/releases/download/${version}/LocalStack-Desktop-community-${version}.AppImage"; | |
sha256 = "sha256-Q6lnv8OGGztqMVVisLhU/lh5qmsG2FqH21lhKupwzys="; | |
}; | |
in | |
pkgs.buildFHSUserEnv { | |
name = "localstack-desktop"; | |
targetPkgs = pkgs: [ pkgs.appimage-run ]; | |
runScript = "${pkgs.appimage-run}/bin/appimage-run ${src}"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment