Unverified Commit 856e3c90 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

couchdb3: 3.5.0 -> 3.5.1 (#460210)

parents 783d6dd3 77e74d5f
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -11,11 +11,11 @@

stdenv.mkDerivation rec {
  pname = "couchdb";
  version = "3.5.0";
  version = "3.5.1";

  src = fetchurl {
    url = "mirror://apache/couchdb/source/${version}/apache-${pname}-${version}.tar.gz";
    hash = "sha256-api5CpqYC77yw1tJlqjnGi8a5SJ1RshfBMQ2EBvfeL8=";
    hash = "sha256-wizzHW2Ro/WqBPDK1JO6vccjITSUy15hcKUH01nFATY=";
  };

  postPatch = ''
@@ -48,6 +48,12 @@ stdenv.mkDerivation rec {
    "release"
  ];

  env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " (
    lib.optionals stdenv.cc.isClang [
      "-Wno-error=implicit-function-declaration"
    ]
  );

  installPhase = ''
    runHook preInstall
    mkdir -p $out
@@ -65,6 +71,5 @@ stdenv.mkDerivation rec {
    license = lib.licenses.asl20;
    platforms = lib.platforms.all;
    maintainers = [ ];
    broken = stdenv.isDarwin && stdenv.isAarch64;
  };
}