Commit 03351c06 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by sternenseemann
Browse files

cargo-codspeed: unpin libgit2

parent 2e25909a
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
, fetchFromGitHub
, curl
, pkg-config
, libgit2_1_5
, libgit2
, openssl
, zlib
, stdenv
@@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec {

  buildInputs = [
    curl
    libgit2_1_5
    libgit2
    openssl
    zlib
  ] ++ lib.optionals stdenv.isDarwin [
@@ -40,6 +40,10 @@ rustPlatform.buildRustPackage rec {
  cargoBuildFlags = [ "-p=cargo-codspeed" ];
  cargoTestFlags = cargoBuildFlags;

  env = {
    LIBGIT2_NO_VENDOR = 1;
  };

  meta = with lib; {
    description = "Cargo extension to build & run your codspeed benchmarks";
    homepage = "https://github.com/CodSpeedHQ/codspeed-rust";