luaPackages.vusted: init at 2.1.1-1
This commit is contained in:
parent
be8d6387c4
commit
d1742000db
@ -101,3 +101,4 @@ std.normalize,https://github.com/lua-stdlib/normalize.git,,,,,
|
||||
stdlib,,,,41.2.2,,vyp
|
||||
tl,,,,,,mephistophiles
|
||||
vstruct,https://github.com/ToxicFrog/vstruct.git,,,,,
|
||||
vusted,,,,,,figsoda
|
||||
|
|
@ -3021,6 +3021,39 @@ buildLuarocksPackage {
|
||||
};
|
||||
}) {};
|
||||
|
||||
vusted = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
|
||||
, fetchgit, busted
|
||||
}:
|
||||
buildLuarocksPackage {
|
||||
pname = "vusted";
|
||||
version = "2.1.1-1";
|
||||
knownRockspec = (fetchurl {
|
||||
url = "mirror://luarocks/vusted-2.1.1-1.rockspec";
|
||||
sha256 = "12zw09ib3mmwh1kvcj228dhws2ldvwzymr7qbsq6l5kysaahhjm3";
|
||||
}).outPath;
|
||||
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
|
||||
"url": "https://github.com/notomo/vusted.git",
|
||||
"rev": "9607444b9e259b82c0615caabb5fea8cea918edc",
|
||||
"date": "2022-09-12T21:55:42+09:00",
|
||||
"path": "/nix/store/pb5inf25lr63bbc1mvx8aqlh83i4ynwd-vusted",
|
||||
"sha256": "0wv5lmzf36ga0lmyh0xaw4g2jz9hmw4766xmpznbhn2p64lm9kyl",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": true,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
'') ["date" "path"]) ;
|
||||
|
||||
propagatedBuildInputs = [ busted ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/notomo/vusted";
|
||||
description = "`busted` wrapper for testing neovim plugin";
|
||||
maintainers = with lib.maintainers; [ figsoda ];
|
||||
license.fullName = "MIT <http://opensource.org/licenses/MIT>";
|
||||
};
|
||||
}) {};
|
||||
|
||||
|
||||
}
|
||||
/* GENERATED - do not edit this file */
|
||||
|
@ -513,6 +513,13 @@ with prev;
|
||||
'';
|
||||
});
|
||||
|
||||
vusted = prev.vusted.overrideAttrs (_: {
|
||||
# make sure vusted_entry.vim doesn't get wrapped
|
||||
postInstall = ''
|
||||
chmod -x $out/bin/vusted_entry.vim
|
||||
'';
|
||||
});
|
||||
|
||||
# TODO just while testing, remove afterwards
|
||||
# toVimPlugin should do it instead
|
||||
gitsigns-nvim = prev.gitsigns-nvim.overrideAttrs (oa: {
|
||||
|
Loading…
Reference in New Issue
Block a user