tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
kibi: enable syntax highlighting
Nikolay Korotkiy
3 years ago
ffc16048
d941f93a
+8
1 changed file
expand all
collapse all
unified
split
pkgs
applications
editors
kibi
default.nix
+8
pkgs/applications/editors/kibi/default.nix
···
1
1
{ lib
2
2
, fetchFromGitHub
3
3
, rustPlatform
4
4
+
, makeWrapper
4
5
}:
5
6
6
7
rustPlatform.buildRustPackage rec {
···
15
16
rev = "v${version}";
16
17
sha256 = "sha256-ox1qKWxJlUIFzEqeyzG2kqZix3AHnOKFrlpf6O5QM+k=";
17
18
};
19
19
+
20
20
+
nativeBuildInputs = [ makeWrapper ];
21
21
+
22
22
+
postInstall = ''
23
23
+
install -Dm644 syntax.d/* -t $out/share/kibi/syntax.d
24
24
+
wrapProgram $out/bin/kibi --prefix XDG_DATA_DIRS : "$out/share"
25
25
+
'';
18
26
19
27
meta = with lib; {
20
28
description = "A text editor in ≤1024 lines of code, written in Rust";