nixpkgs-suyu/pkgs/applications/editors/kakoune/plugins/kak-prelude.nix

26 lines
695 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2020-07-26 20:03:12 +02:00
stdenv.mkDerivation {
name = "kak-prelude";
version = "2020-06-09";
2020-07-26 20:03:12 +02:00
src = fetchFromGitHub {
owner = "alexherbo2";
repo = "prelude.kak";
rev = "f1e0f4d5cb62a36924e3f8ba6824d6aed8c19d23";
sha256 = "1pncr8azqvl2z9yvzhc68p1s9fld8cvak8yz88zgrp5ypx2cxl8c";
2020-07-26 20:03:12 +02:00
};
installPhase = ''
mkdir -p $out/share/kak/autoload/plugins
2020-11-15 22:42:11 +01:00
cp -r rc $out/share/kak/autoload/plugins/prelude
2020-07-26 20:03:12 +02:00
'';
2021-01-15 14:21:58 +01:00
meta = with lib;
2020-07-26 20:03:12 +02:00
{ description = "Prelude of shell blocks for Kakoune.";
homepage = "https://github.com/alexherbo2/prelude.kak";
license = licenses.unlicense;
maintainers = with maintainers; [ buffet ];
platform = platforms.all;
};
}