Loading pkgs/servers/http/couchdb/3.nix +34 −10 Original line number Diff line number Diff line { lib, stdenv, fetchurl, erlang, icu, openssl, spidermonkey_91 , coreutils, bash, python3, nixosTests }: { lib , stdenv , fetchurl , erlang , icu , openssl , spidermonkey_91 , python3 , nixosTests }: stdenv.mkDerivation rec { pname = "couchdb"; version = "3.3.1"; version = "3.3.2"; src = fetchurl { url = "mirror://apache/couchdb/source/${version}/apache-${pname}-${version}.tar.gz"; sha256 = "sha256-m4nXtU9+9StCvVGmoKLTsbBszjld8smdjx9H+TVeK+4="; hash = "sha256-PWgj1C0Qzw1PhsnE/lnJkyyJ1oV4/LbEtCeNx2kwjao="; }; nativeBuildInputs = [ erlang ]; buildInputs = [ icu openssl spidermonkey_91 (python3.withPackages(ps: with ps; [ requests ]))]; postPatch = '' substituteInPlace src/couch/rebar.config.script --replace '/usr/include/mozjs-91' "${spidermonkey_91.dev}/include/mozjs-91" substituteInPlace configure --replace '/usr/include/''${SM_HEADERS}' "${spidermonkey_91.dev}/include/mozjs-91" patchShebangs bin/rebar ''; nativeBuildInputs = [ erlang ]; buildInputs = [ icu openssl spidermonkey_91 (python3.withPackages(ps: with ps; [ requests ])) ]; dontAddPrefix= "True"; configureFlags = ["--spidermonkey-version=91"]; buildFlags = ["release"]; configureFlags = [ "--spidermonkey-version=91" ]; buildFlags = [ "release" ]; installPhase = '' runHook preInstall mkdir -p $out cp -r rel/couchdb/* $out runHook postInstall ''; passthru.tests = { Loading Loading
pkgs/servers/http/couchdb/3.nix +34 −10 Original line number Diff line number Diff line { lib, stdenv, fetchurl, erlang, icu, openssl, spidermonkey_91 , coreutils, bash, python3, nixosTests }: { lib , stdenv , fetchurl , erlang , icu , openssl , spidermonkey_91 , python3 , nixosTests }: stdenv.mkDerivation rec { pname = "couchdb"; version = "3.3.1"; version = "3.3.2"; src = fetchurl { url = "mirror://apache/couchdb/source/${version}/apache-${pname}-${version}.tar.gz"; sha256 = "sha256-m4nXtU9+9StCvVGmoKLTsbBszjld8smdjx9H+TVeK+4="; hash = "sha256-PWgj1C0Qzw1PhsnE/lnJkyyJ1oV4/LbEtCeNx2kwjao="; }; nativeBuildInputs = [ erlang ]; buildInputs = [ icu openssl spidermonkey_91 (python3.withPackages(ps: with ps; [ requests ]))]; postPatch = '' substituteInPlace src/couch/rebar.config.script --replace '/usr/include/mozjs-91' "${spidermonkey_91.dev}/include/mozjs-91" substituteInPlace configure --replace '/usr/include/''${SM_HEADERS}' "${spidermonkey_91.dev}/include/mozjs-91" patchShebangs bin/rebar ''; nativeBuildInputs = [ erlang ]; buildInputs = [ icu openssl spidermonkey_91 (python3.withPackages(ps: with ps; [ requests ])) ]; dontAddPrefix= "True"; configureFlags = ["--spidermonkey-version=91"]; buildFlags = ["release"]; configureFlags = [ "--spidermonkey-version=91" ]; buildFlags = [ "release" ]; installPhase = '' runHook preInstall mkdir -p $out cp -r rel/couchdb/* $out runHook postInstall ''; passthru.tests = { Loading