default.nix (604B)
1 { lib, stdenv, nnn }: 2 3 stdenv.mkDerivation { 4 pname = "nnn-plugins"; 5 inherit (nnn) version src; 6 7 phases = [ "installPhase" "fixupPhase" ]; 8 9 installPhase = '' 10 cd $src/plugins 11 for f in $(find . -maxdepth 1 \( ! -iname "." ! -iname "*.md" \)); do 12 install -Dm755 "$f" -t $out/share/nnn/plugins 13 done 14 ''; 15 16 meta = with lib; { 17 description = "Plugins extend the capabilities of nnn"; 18 homepage = "https://github.com/jarun/nnn/tree/master/plugins"; 19 license = licenses.bsd2; 20 platforms = platforms.all; 21 maintainers = [ maintainers.sikmir ]; 22 skip.ci = true; 23 }; 24 }