From d067a8b0764e7ae9eb2dae2512b9db75ec265eaa Mon Sep 17 00:00:00 2001 From: "Wu, Zhenyu" Date: Sun, 22 Dec 2024 13:26:02 +0800 Subject: [PATCH] :bookmark: Bump prompt-style.lua --- _sources/generated.nix | 22 ++++++++++++------- .../lua-modules/prompt-style/default.nix | 6 ++--- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/_sources/generated.nix b/_sources/generated.nix index 5d781ad..906f951 100644 --- a/_sources/generated.nix +++ b/_sources/generated.nix @@ -121,10 +121,13 @@ }; tree-sitter-bash = { pname = "tree-sitter-bash"; - version = "0.23.3"; - src = fetchurl { - url = "https://pypi.org/packages/source/t/tree_sitter_bash/tree_sitter_bash-0.23.3.tar.gz"; - sha256 = "sha256-exXtiaHqjj48I5l1h0ZBPkZNTBw6bTt11kOuK8L7NWs="; + version = "v0.23.3"; + src = fetchFromGitHub { + owner = "tree-sitter"; + repo = "tree-sitter-bash"; + rev = "v0.23.3"; + fetchSubmodules = false; + sha256 = "sha256-7N1PLVMJxwN5FzHW9NbXZTzGhvziwLCC8tDO3qdjtOo="; }; }; tree-sitter-make = { @@ -145,10 +148,13 @@ }; tree-sitter-requirements = { pname = "tree-sitter-requirements"; - version = "0.4.0"; - src = fetchurl { - url = "https://pypi.org/packages/source/t/tree-sitter-requirements/tree-sitter-requirements-0.4.0.tar.gz"; - sha256 = "sha256-IKS/woEhA+bEK3AWdqnWvsgdZvPjVZfKJqAVWApIGRk="; + version = "v0.4.0"; + src = fetchFromGitHub { + owner = "tree-sitter-grammars"; + repo = "tree-sitter-requirements"; + rev = "v0.4.0"; + fetchSubmodules = false; + sha256 = "sha256-wqaFpT/4Gq8mWoORcZeGah18VunvKlgr8gCgHQvEF6E="; }; }; tree-sitter-tmux = { diff --git a/pkgs/development/lua-modules/prompt-style/default.nix b/pkgs/development/lua-modules/prompt-style/default.nix index bbb4f0c..0173b58 100644 --- a/pkgs/development/lua-modules/prompt-style/default.nix +++ b/pkgs/development/lua-modules/prompt-style/default.nix @@ -12,18 +12,18 @@ with luaPackages; buildLuarocksPackage rec { pname = "prompt-style"; - version = "0.0.3"; + version = "0.0.4"; knownRockspec = (fetchurl { url = "mirror://luarocks/prompt-style-${version}-1.rockspec"; - sha256 = "sha256-QObeNZlIz50XUJWvuswRHQ0m66brAfLwFf8kNJW+bK4="; + sha256 = "sha256-m1ObzDS0yZzX9+EXb+CLHF8/T4GlgeurA2N7SuAvv3g="; }).outPath; src = fetchFromGitHub { owner = "wakatime"; repo = "prompt-style.lua"; rev = version; fetchSubmodules = false; - sha256 = "sha256-E2xCYa+WBqv6jVq925dTsWlYBJQM3WbLKzjU1NdO2S0="; + sha256 = "sha256-v+CFOvTFcFLKF6WDdJzD2ZBYfKEKkgQz98w+PI3Bi30="; }; postFixup =