diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/http/couchdb/3.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/http/couchdb/3.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/servers/http/couchdb/3.nix b/nixpkgs/pkgs/servers/http/couchdb/3.nix index 076edfb8453a..cea02e1b01bf 100644 --- a/nixpkgs/pkgs/servers/http/couchdb/3.nix +++ b/nixpkgs/pkgs/servers/http/couchdb/3.nix @@ -1,26 +1,29 @@ -{ lib, stdenv, fetchurl, erlang, icu, openssl, spidermonkey_78 -, coreutils, bash, makeWrapper, python3, nixosTests }: +{ lib, stdenv, fetchurl, erlang, icu, openssl, spidermonkey_91 +, coreutils, bash, python3, nixosTests }: stdenv.mkDerivation rec { pname = "couchdb"; - version = "3.2.1"; + version = "3.2.2"; # when updating this, please consider bumping the erlang/OTP version # in all-packages.nix src = fetchurl { url = "mirror://apache/couchdb/source/${version}/apache-${pname}-${version}.tar.gz"; - sha256 = "1y5cfic88drlr9qiwyj2p8xc9m9hcbvw77j5lwbp0cav78f2vphi"; + sha256 = "sha256-acn9b4ATNVf2igLpLdpypP1kbWRvQp9Fu4Mpow+C8g4="; }; - buildInputs = [ erlang icu openssl spidermonkey_78 (python3.withPackages(ps: with ps; [ requests ]))]; + nativeBuildInputs = [ + erlang + ]; + buildInputs = [ icu openssl spidermonkey_91 (python3.withPackages(ps: with ps; [ requests ]))]; postPatch = '' - substituteInPlace src/couch/rebar.config.script --replace '/usr/include/mozjs-78' "${spidermonkey_78.dev}/include/mozjs-78" + substituteInPlace src/couch/rebar.config.script --replace '/usr/include/mozjs-91' "${spidermonkey_91.dev}/include/mozjs-91" patchShebangs bin/rebar ''; dontAddPrefix= "True"; - configureFlags = ["--spidermonkey-version=78"]; + configureFlags = ["--spidermonkey-version=91"]; buildFlags = ["release"]; installPhase = '' |