Unverified Commit eabc1b18 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

chiaki-ng: 1.9.8 -> 1.9.9 (#439275)

parents 743c1043 f5f12542
Loading
Loading
Loading
Loading
+5 −11
Original line number Diff line number Diff line
@@ -35,15 +35,15 @@
  xxHash,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "chiaki-ng";
  version = "1.9.8";
  version = "1.9.9";

  src = fetchFromGitHub {
    owner = "streetpea";
    repo = "chiaki-ng";
    rev = "v${version}";
    hash = "sha256-HQmXbi2diewA/+AMjlkyffvD73TkX6D+lMh+FL2Rcz4=";
    rev = "v${finalAttrs.version}";
    hash = "sha256-7pDQnlElnBkW+Nr6R+NaylZbsGH8dB31nd7jxYD66yQ=";
    fetchSubmodules = true;
  };

@@ -87,12 +87,6 @@ stdenv.mkDerivation rec {
    xxHash
  ];

  # handle library name discrepancy when curl not built with cmake
  postPatch = ''
    substituteInPlace lib/CMakeLists.txt \
      --replace-fail 'libcurl_shared' 'libcurl'
  '';

  cmakeFlags = [
    "-Wno-dev"
    (lib.cmakeFeature "CHIAKI_USE_SYSTEM_CURL" "true")
@@ -126,4 +120,4 @@ stdenv.mkDerivation rec {
    platforms = platforms.linux;
    mainProgram = "chiaki";
  };
}
})