This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / pkgs / zmk-studio / package.nix
1.0 kB 35 lines
1{ 2 lib, 3 appimageTools, 4 fetchurl, 5}: 6 7let 8 pname = "zmk-studio"; 9 version = "0.3.1"; 10 11 src = fetchurl { 12 url = "https://github.com/zmkfirmware/zmk-studio/releases/download/v${version}/ZMK.Studio_${version}_amd64.AppImage"; 13 hash = "sha256-kDt3AxPV1901WH3n6+mmylLwnvRrAuHSlFlRK9qEoOs="; 14 }; 15 16 appimageContents = appimageTools.extractType2 { inherit pname version src; }; 17in 18appimageTools.wrapType2 { 19 inherit pname version src; 20 21 extraInstallCommands = '' 22 install -Dm444 "${appimageContents}/ZMK Studio.desktop" $out/share/applications/zmk-studio.desktop 23 install -Dm444 ${appimageContents}/zmk-studio.png $out/share/icons/hicolor/128x128/apps/zmk-studio.png 24 ''; 25 26 meta = { 27 description = "Runtime keymap editor for ZMK keyboards"; 28 homepage = "https://zmk.studio/"; 29 downloadPage = "https://github.com/zmkfirmware/zmk-studio/releases"; 30 license = lib.licenses.mit; 31 maintainers = [ ]; 32 platforms = [ "x86_64-linux" ]; 33 mainProgram = "zmk-studio"; 34 }; 35}