7 stdenv.mkDerivation (finalAttrs: {
8 pname = "kakoune-unwrapped";
9 version = "2024.05.18";
10 src = fetchFromGitHub {
13 rev = "v${finalAttrs.version}";
14 hash = "sha256-1nYSVbvQ4tz1r8p7zCD6w/79haqpelb15qva9r3Fwew=";
18 "PREFIX=${placeholder "out"}"
22 echo "v${finalAttrs.version}" >.version
25 enableParallelBuilding = true;
27 doInstallCheck = true;
28 installCheckPhase = ''
29 $out/bin/kak -ui json -e "kill 0"
33 # make share/kak/autoload a directory, so we can use symlinkJoin with plugins
35 autoload_target=$(readlink autoload)
38 ln -s --relative "$autoload_target" autoload
42 homepage = "http://kakoune.org/";
43 description = "Vim inspired text editor";
44 license = licenses.publicDomain;
46 maintainers = with maintainers; [ philiptaron ];
47 platforms = platforms.unix;