Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7d9c32f7437c
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 956afcd713a4
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Dec 10, 2020

  1. Copy the full SHA
    4c486c1 View commit details

Commits on Jan 14, 2021

  1. Merge pull request #106548 from eraserhd/quickscope-kak

    kakounePlugins.quickscope-kak: init at 1.0.0
    AndersonTorres authored Jan 14, 2021
    Copy the full SHA
    956afcd View commit details
Showing with 30 additions and 0 deletions.
  1. +1 −0 pkgs/applications/editors/kakoune/plugins/default.nix
  2. +29 −0 pkgs/applications/editors/kakoune/plugins/quickscope.kak.nix
1 change: 1 addition & 0 deletions pkgs/applications/editors/kakoune/plugins/default.nix
Original file line number Diff line number Diff line change
@@ -13,4 +13,5 @@
kak-prelude = pkgs.callPackage ./kak-prelude.nix { };
kak-vertical-selection = pkgs.callPackage ./kak-vertical-selection.nix { };
openscad-kak = pkgs.callPackage ./openscad.kak.nix { };
quickscope-kak = pkgs.callPackage ./quickscope.kak.nix { };
}
29 changes: 29 additions & 0 deletions pkgs/applications/editors/kakoune/plugins/quickscope.kak.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ stdenv, fetchgit, lua5_3 }:

stdenv.mkDerivation rec {
pname = "quickscope-kak";
version = "1.0.0";

src = fetchgit {
url = "https://git.sr.ht/~voroskoi/quickscope.kak";
rev = "v${version}";
sha256 = "0y1g3zpa2ql8l9rl5i2w84bka8a09kig9nq9zdchaff5pw660mcx";
};

buildInputs = [ lua5_3 ];

installPhase = ''
mkdir -p $out/share/kak/autoload/plugins/
cp quickscope.* $out/share/kak/autoload/plugins/
# substituteInPlace does not like the pipe
sed -e 's,[|] *lua,|${lua5_3}/bin/lua,' quickscope.kak >$out/share/kak/autoload/plugins/quickscope.kak
'';

meta = with stdenv.lib; {
description = "Highlight f and t jump positions";
homepage = "https://sr.ht/~voroskoi/quickscope.kak/";
license = licenses.unlicense;
maintainers = with maintainers; [ eraserhd ];
platforms = platforms.all;
};
}