vimPluginsUpdater: fix script (#481678)
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
with import <localpkgs> { };
|
||||
let
|
||||
inherit (vimUtils.override { inherit vim; }) buildVimPlugin;
|
||||
inherit (neovimUtils) buildNeovimPlugin;
|
||||
|
||||
generated = callPackage <localpkgs/pkgs/applications/editors/vim/plugins/generated.nix> {
|
||||
inherit buildNeovimPlugin buildVimPlugin;
|
||||
inherit buildVimPlugin;
|
||||
} { } { };
|
||||
|
||||
hasChecksum =
|
||||
@@ -15,16 +14,15 @@ let
|
||||
"outputHash"
|
||||
] value;
|
||||
|
||||
parse = name: value: {
|
||||
pname = value.pname;
|
||||
version = value.version;
|
||||
parse = _name: value: {
|
||||
inherit (value) pname version;
|
||||
homePage = value.meta.homepage;
|
||||
checksum =
|
||||
if hasChecksum value then
|
||||
{
|
||||
submodules = value.src.fetchSubmodules or false;
|
||||
sha256 = value.src.outputHash;
|
||||
rev = value.src.rev;
|
||||
inherit (value.src) rev;
|
||||
}
|
||||
else
|
||||
null;
|
||||
|
||||
Reference in New Issue
Block a user