Unverified Commit 413bf935 authored by Justin Restivo's avatar Justin Restivo Committed by Philip Taron
Browse files

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: default avatarPhilip Taron <philip.taron@gmail.com>
parent 463d6bae
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -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";
  };
})