···1{ lib
2, fetchFromGitHub
3, rustPlatform
04}:
56rustPlatform.buildRustPackage rec {
···15 rev = "v${version}";
16 sha256 = "sha256-ox1qKWxJlUIFzEqeyzG2kqZix3AHnOKFrlpf6O5QM+k=";
17 };
00000001819 meta = with lib; {
20 description = "A text editor in ≤1024 lines of code, written in Rust";
···1{ lib
2, fetchFromGitHub
3, rustPlatform
4+, makeWrapper
5}:
67rustPlatform.buildRustPackage rec {
···16 rev = "v${version}";
17 sha256 = "sha256-ox1qKWxJlUIFzEqeyzG2kqZix3AHnOKFrlpf6O5QM+k=";
18 };
19+20+ nativeBuildInputs = [ makeWrapper ];
21+22+ postInstall = ''
23+ install -Dm644 syntax.d/* -t $out/share/kibi/syntax.d
24+ wrapProgram $out/bin/kibi --prefix XDG_DATA_DIRS : "$out/share"
25+ '';
2627 meta = with lib; {
28 description = "A text editor in ≤1024 lines of code, written in Rust";