From 413bf93528a909ed597f29ef3fd47551fbbb4858 Mon Sep 17 00:00:00 2001 From: Justin Restivo Date: Wed, 18 Jun 2025 10:35:20 -0400 Subject: [PATCH] lstr: add DieracDelta as maintainer; slim derivation Turns out we don't need `libgit2` or `zlib` and can use `openssl.dev` instead of the main derivation. Co-authored-by: Philip Taron --- pkgs/by-name/ls/lstr/package.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/ls/lstr/package.nix b/pkgs/by-name/ls/lstr/package.nix index 6d9a25de4fe8..e412a55f7714 100644 --- a/pkgs/by-name/ls/lstr/package.nix +++ b/pkgs/by-name/ls/lstr/package.nix @@ -5,10 +5,8 @@ fetchFromGitHub, pkg-config, gitMinimal, - libgit2, openssl, versionCheckHook, - zlib, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -26,11 +24,7 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ pkg-config ]; - buildInputs = [ - libgit2 - openssl - zlib - ]; + buildInputs = [ (lib.getDev openssl) ]; nativeCheckInputs = [ gitMinimal ]; @@ -43,7 +37,10 @@ rustPlatform.buildRustPackage (finalAttrs: { homepage = "https://github.com/bgreenwell/lstr"; changelog = "https://github.com/bgreenwell/lstr/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ philiptaron ]; + maintainers = with lib.maintainers; [ + DieracDelta + philiptaron + ]; mainProgram = "lstr"; }; })