Loading pkgs/by-name/st/stylua/package.nix +15 −8 Original line number Diff line number Diff line Loading @@ -2,6 +2,8 @@ lib, rustPlatform, fetchFromGitHub, nix-update-script, testers, # lua54 implies lua52/lua53 features ? [ "lua54" Loading @@ -10,18 +12,18 @@ ], }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "stylua"; version = "2.3.0"; version = "2.3.1"; src = fetchFromGitHub { owner = "johnnymorganz"; repo = "stylua"; rev = "v${version}"; sha256 = "sha256-iyZ30Gc32TQsQyMLwArfIRtM0NkbXkqmca46nI0526M="; rev = "v${finalAttrs.version}"; sha256 = "sha256-wpFp6K5O1Vb/yHq+Lm0235nbeOdOgBK0NrlVAthz12A="; }; cargoHash = "sha256-H50/e/XyFvXHhwrKUbKZFZwSHfwAkAtddEvFiOr5220="; cargoHash = "sha256-+llL9WoKnrXJjlaPNqdN4jGPjSHz2EuI2V44fghF5aM="; # remove cargo config so it can find the linker on aarch64-unknown-linux-gnu postPatch = '' Loading @@ -30,12 +32,17 @@ rustPlatform.buildRustPackage rec { buildFeatures = features; passthru = { tests.version = testers.testVersion { package = finalAttrs.finalPackage; }; updateScript = nix-update-script { }; }; meta = { description = "Opinionated Lua code formatter"; homepage = "https://github.com/johnnymorganz/stylua"; changelog = "https://github.com/johnnymorganz/stylua/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/johnnymorganz/stylua/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mpl20; maintainers = [ ]; maintainers = [ lib.maintainers.LunNova ]; mainProgram = "stylua"; }; } }) Loading
pkgs/by-name/st/stylua/package.nix +15 −8 Original line number Diff line number Diff line Loading @@ -2,6 +2,8 @@ lib, rustPlatform, fetchFromGitHub, nix-update-script, testers, # lua54 implies lua52/lua53 features ? [ "lua54" Loading @@ -10,18 +12,18 @@ ], }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "stylua"; version = "2.3.0"; version = "2.3.1"; src = fetchFromGitHub { owner = "johnnymorganz"; repo = "stylua"; rev = "v${version}"; sha256 = "sha256-iyZ30Gc32TQsQyMLwArfIRtM0NkbXkqmca46nI0526M="; rev = "v${finalAttrs.version}"; sha256 = "sha256-wpFp6K5O1Vb/yHq+Lm0235nbeOdOgBK0NrlVAthz12A="; }; cargoHash = "sha256-H50/e/XyFvXHhwrKUbKZFZwSHfwAkAtddEvFiOr5220="; cargoHash = "sha256-+llL9WoKnrXJjlaPNqdN4jGPjSHz2EuI2V44fghF5aM="; # remove cargo config so it can find the linker on aarch64-unknown-linux-gnu postPatch = '' Loading @@ -30,12 +32,17 @@ rustPlatform.buildRustPackage rec { buildFeatures = features; passthru = { tests.version = testers.testVersion { package = finalAttrs.finalPackage; }; updateScript = nix-update-script { }; }; meta = { description = "Opinionated Lua code formatter"; homepage = "https://github.com/johnnymorganz/stylua"; changelog = "https://github.com/johnnymorganz/stylua/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/johnnymorganz/stylua/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mpl20; maintainers = [ ]; maintainers = [ lib.maintainers.LunNova ]; mainProgram = "stylua"; }; } })