From 4e1693c09316d9cefda40823ecd5c01f526a6aee Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 29 Mar 2023 19:11:28 -0400 Subject: [PATCH] boxxy: 0.6.2 -> 0.6.3 Diff: https://github.com/queer/boxxy/compare/v0.6.2...v0.6.3 --- pkgs/tools/misc/boxxy/default.nix | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/boxxy/default.nix b/pkgs/tools/misc/boxxy/default.nix index a6b05ab793ef..b43685513fa8 100644 --- a/pkgs/tools/misc/boxxy/default.nix +++ b/pkgs/tools/misc/boxxy/default.nix @@ -2,20 +2,32 @@ , rustPlatform , fetchFromGitHub , stdenv +, pkg-config +, oniguruma }: rustPlatform.buildRustPackage rec { pname = "boxxy"; - version = "0.6.2"; + version = "0.6.3"; src = fetchFromGitHub { owner = "queer"; repo = "boxxy"; rev = "v${version}"; - hash = "sha256-UTwaJDuIj0aZNGNbylBhIdZA6WAsqtW05IWPzh0f9cM="; + hash = "sha256-c1AZz5WwSie0lenH0LoPOvR4VWd7pYd59WWmjFn6HiQ="; }; - cargoHash = "sha256-CkYm/tMDCIQbUzoF2hgxFsyAl5bpeCVHcLWR9iwq7Cw="; + cargoHash = "sha256-840W5wyOV+nTr9HzftOUlUwZ1JRe7+FWTG4Q2L+yCXM="; + + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + oniguruma + ]; + + RUSTONIG_SYSTEM_LIBONIG = true; meta = with lib; { description = "Puts bad Linux applications in a box with only their files";