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 <philip.taron@gmail.com>
This commit is contained in:
Justin Restivo
2025-06-18 09:47:07 -07:00
committed by Philip Taron
co-authored by Philip Taron
parent 463d6bae25
commit 413bf93528
+5 -8
View File
@@ -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";
};
})