From ce715d80becfb1c954b43a28a5d836fc9a278a11 Mon Sep 17 00:00:00 2001 From: Valter Nazianzeno Date: Thu, 24 Apr 2025 22:11:01 -0300 Subject: [PATCH 1/2] emilua: 0.11.4 -> 0.11.6 --- .../interpreters/emilua/default.nix | 30 ++----------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/pkgs/development/interpreters/emilua/default.nix b/pkgs/development/interpreters/emilua/default.nix index 9610d3fc7a1a..0a80f9f9f645 100644 --- a/pkgs/development/interpreters/emilua/default.nix +++ b/pkgs/development/interpreters/emilua/default.nix @@ -3,7 +3,6 @@ stdenv, meson, ninja, - fetchFromGitHub, fetchFromGitLab, re2c, gperf, @@ -28,39 +27,15 @@ emilua, # this package }: -let - trial-protocol-wrap = fetchFromGitHub { - owner = "breese"; - repo = "trial.protocol"; - rev = "79149f604a49b8dfec57857ca28aaf508069b669"; - sparseCheckout = [ - "include" - ]; - hash = "sha256-QpQ70KDcJyR67PtOowAF6w48GitMJ700B8HiEwDA5sU="; - postFetch = '' - rm $out/*.* - mkdir -p $out/lib/pkgconfig - cat > $out/lib/pkgconfig/trial-protocol.pc << EOF - Name: trial.protocol - Version: 0-unstable-2023-02-10 - Description: C++ header-only library with parsers and generators for network wire protocols - Requires: - Libs: - Cflags: - EOF - ''; - }; -in - stdenv.mkDerivation (finalAttrs: { pname = "emilua"; - version = "0.11.4"; + version = "0.11.6"; src = fetchFromGitLab { owner = "emilua"; repo = "emilua"; tag = "v${finalAttrs.version}"; - hash = "sha256-CVEBFySsGT0f16Dim1Pw1GdDM0fWUKieRZyxHaDH3O4="; + hash = "sha256-0mv3z7zbpl7z7amcak0f0w7hg4w39fap2wvw33chj0pw1929zxdg="; }; propagatedBuildInputs = [ @@ -74,7 +49,6 @@ stdenv.mkDerivation (finalAttrs: { liburing openssl cereal - trial-protocol-wrap ]; nativeBuildInputs = [ From 86e9dfb865d4c0da9e5a6af696d70e27935959ad Mon Sep 17 00:00:00 2001 From: Valter Nazianzeno Date: Thu, 24 Apr 2025 23:54:44 -0300 Subject: [PATCH 2/2] emilua: fix hash Co-authored-by: Lucas Eduardo --- pkgs/development/interpreters/emilua/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/emilua/default.nix b/pkgs/development/interpreters/emilua/default.nix index 0a80f9f9f645..c9101377e91d 100644 --- a/pkgs/development/interpreters/emilua/default.nix +++ b/pkgs/development/interpreters/emilua/default.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "emilua"; repo = "emilua"; tag = "v${finalAttrs.version}"; - hash = "sha256-0mv3z7zbpl7z7amcak0f0w7hg4w39fap2wvw33chj0pw1929zxdg="; + hash = "sha256-r/WfRAr8AgnZGHxzcZVLg5MHDwcOTMWqOv/Qu/75Y1c="; }; propagatedBuildInputs = [