mirror of
https://github.com/zoriya/lz.n.git
synced 2026-05-31 18:13:01 +00:00
chore: init name
This commit is contained in:
@@ -17,4 +17,4 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||
with:
|
||||
release-type: simple
|
||||
package-name: TODO # TODO: Set package name
|
||||
package-name: lz.n
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
description = "Neovim Nix flake CI template for GitHub Actions"; # TODO: Set description
|
||||
description = "Add laziness to your favourite plugin manager!";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
@@ -29,7 +29,7 @@
|
||||
neodev-nvim,
|
||||
...
|
||||
}: let
|
||||
name = "plugin-template.nvim"; # TODO: Choose a name
|
||||
name = "lz.n";
|
||||
|
||||
plugin-overlay = import ./nix/plugin-overlay.nix {
|
||||
inherit name self;
|
||||
@@ -82,11 +82,6 @@
|
||||
workspace = {
|
||||
library =
|
||||
nvim-api
|
||||
++ [
|
||||
# TODO: Add lua API dependencies here, e.g.
|
||||
# "${pkgs.lua51Packages.fzy}/share/lua/5.1"
|
||||
# "${pkgs.vimPlugins.telescope-nvim}/lua"
|
||||
]
|
||||
++ [
|
||||
"\${3rd}/busted/library"
|
||||
"\${3rd}/luassert/library"
|
||||
@@ -139,7 +134,7 @@
|
||||
};
|
||||
|
||||
devShell = pkgs.nvim-nightly-tests.overrideAttrs (oa: {
|
||||
name = "devShell"; # TODO: Choose a name
|
||||
name = "lz.n devShell";
|
||||
inherit (pre-commit-check) shellHook;
|
||||
buildInputs = with pre-commit-hooks.packages.${system};
|
||||
[
|
||||
@@ -159,8 +154,8 @@
|
||||
};
|
||||
|
||||
packages = rec {
|
||||
default = nvim-plugin;
|
||||
inherit (pkgs.vimPlugins) nvim-plugin;
|
||||
default = lz-n;
|
||||
inherit (pkgs.vimPlugins) lz-n;
|
||||
inherit (pkgs) docgen;
|
||||
};
|
||||
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
-- NOTE: This rockspec is used for running busted tests only,
|
||||
-- not for publishing to LuaRocks.org
|
||||
|
||||
-- TODO: Rename this file
|
||||
|
||||
local _MODREV, _SPECREV = 'scm', '-1'
|
||||
rockspec_format = '3.0'
|
||||
package = 'plugin-template.nvim' -- TODO: Set name
|
||||
package = 'lz.n'
|
||||
version = _MODREV .. _SPECREV
|
||||
|
||||
dependencies = {
|
||||
@@ -17,8 +15,7 @@ test_dependencies = {
|
||||
}
|
||||
|
||||
source = {
|
||||
-- TODO: Replace <user>
|
||||
url = 'git://github.com/<user>/' .. package,
|
||||
url = 'git://github.com/mrcjkb/' .. package,
|
||||
}
|
||||
|
||||
build = {
|
||||
+1
-2
@@ -54,8 +54,7 @@ with final.stdenv; let
|
||||
];
|
||||
text = ''
|
||||
mkdir -p doc
|
||||
# TODO: Update this!
|
||||
lemmy-help lua/rocks/{init,commands,config/init}.lua > doc/nvim-plugin.txt
|
||||
lemmy-help lua/lz/n/{init,commands,config/init}.lua > doc/lz.n.txt
|
||||
'';
|
||||
};
|
||||
in {
|
||||
|
||||
@@ -3,13 +3,11 @@
|
||||
self,
|
||||
}: final: prev: let
|
||||
packageOverrides = luaself: luaprev: {
|
||||
# TODO: Rename
|
||||
plugin-template-nvim = luaself.callPackage ({buildLuarocksPackage}:
|
||||
lz-nvim = luaself.callPackage ({buildLuarocksPackage}:
|
||||
buildLuarocksPackage {
|
||||
pname = name;
|
||||
version = "scm-1";
|
||||
# TODO: Set rockspec name
|
||||
knownRockspec = "${self}/plugin-template.nvim-scm-1.rockspec";
|
||||
knownRockspec = "${self}/lz.n-scm-1.rockspec";
|
||||
src = self;
|
||||
}) {};
|
||||
};
|
||||
@@ -19,8 +17,7 @@
|
||||
};
|
||||
lua51Packages = final.lua5_1.pkgs;
|
||||
|
||||
# TODO: Rename
|
||||
nvim-plugin = final.neovimUtils.buildNeovimPlugin {
|
||||
lz-nvim = final.neovimUtils.buildNeovimPlugin {
|
||||
pname = name;
|
||||
src = self;
|
||||
version = "dev";
|
||||
@@ -34,6 +31,6 @@ in {
|
||||
vimPlugins =
|
||||
prev.vimPlugins
|
||||
// {
|
||||
inherit nvim-plugin;
|
||||
inherit lz-nvim;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user