Move kakoune to a full-fledged package #4

Open
nki wants to merge 42 commits from kakoune-package into master
Showing only changes of commit c2a0236c41 - Show all commits

View file

@ -1,28 +1,28 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
let let
osu-pkg = pkgs.unstable.osu-lazer-bin; # osu-pkg = pkgs.unstable.osu-lazer-bin;
# osu-pkg = with pkgs; with lib; osu-pkg = with pkgs; with lib;
# appimageTools.wrapType2 rec { appimageTools.wrapType2 rec {
# pname = "osu-lazer-bin"; pname = "osu-lazer-bin";
# version = "2025.101.0"; version = "2025.221.0";
# src = fetchurl { src = fetchurl {
# url = "https://github.com/ppy/osu/releases/download/${version}/osu.AppImage"; url = "https://github.com/ppy/osu/releases/download/${version}/osu.AppImage";
# hash = "sha256-GsnTxVpNk2RXHLET6Ugv0/ZOlq8RUkw2ZXqRjkU+dzw="; hash = "sha256-V6JJShVGE4GXGI8FvDhyWuHUnlI+p3JLW/NN+u+Vikc=";
# }; };
# extraPkgs = pkgs: with pkgs; [ icu ]; extraPkgs = pkgs: with pkgs; [ icu ];
# extraInstallCommands = extraInstallCommands =
# let contents = appimageTools.extract { inherit pname version src; }; let contents = appimageTools.extract { inherit pname version src; };
# in in
# '' ''
# mv -v $out/bin/${pname} $out/bin/osu\! mv -v $out/bin/${pname} $out/bin/osu\!
# install -m 444 -D ${contents}/osu\!.desktop -t $out/share/applications install -m 444 -D ${contents}/osu\!.desktop -t $out/share/applications
# for i in 16 32 48 64 96 128 256 512 1024; do for i in 16 32 48 64 96 128 256 512 1024; do
# install -D ${contents}/osu.png $out/share/icons/hicolor/''${i}x$i/apps/osu.png install -D ${contents}/osu.png $out/share/icons/hicolor/''${i}x$i/apps/osu.png
# done done
# ''; '';
# }; };
in in
{ {
home.packages = [ osu-pkg ]; home.packages = [ osu-pkg ];