From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyClo-0003Ai-8K for guix-patches@gnu.org; Sat, 30 Sep 2017 04:05:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyCli-0007vS-Bd for guix-patches@gnu.org; Sat, 30 Sep 2017 04:05:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59479) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dyCli-0007vE-8M for guix-patches@gnu.org; Sat, 30 Sep 2017 04:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dyClh-0000GZ-Tc for guix-patches@gnu.org; Sat, 30 Sep 2017 04:05:01 -0400 Subject: [bug#28198] [PATCH 2/4] gnu: Add mongodb. Resent-Message-ID: Date: Sat, 30 Sep 2017 09:04:20 +0100 From: Christopher Baines Message-ID: <20170930090420.7a29807b@cbaines.net> In-Reply-To: <87shg7udc5.fsf@gnu.org> References: <20170823092516.6846-1-mail@cbaines.net> <20170823092516.6846-2-mail@cbaines.net> <87shg7udc5.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/_L8W=juR61p=uCXv4eaq4Uh"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 28198@debbugs.gnu.org --Sig_/_L8W=juR61p=uCXv4eaq4Uh Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 31 Aug 2017 14:32:58 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Christopher Baines skribis: >=20 > > * gnu/packages/databases.scm (mongodb): New variable. =20 >=20 > [...] >=20 > > + (build-system gnu-build-system) > > + (native-inputs > > + `(("scons" ,scons) > > + ("python" ,python-2) > > + ("openssl" ,openssl) > > + ("boost" ,boost) > > + ("snappy" ,snappy) > > + ("zlib" ,zlib) > > + ("pcre" ,pcre) > > + ("valgrind" ,valgrind) > > + ("yaml-cpp" ,yaml-cpp) > > + ("perl" ,perl))) =20 >=20 > Seems like some of these should rather go to =E2=80=98inputs=E2=80=99, no? Indeed. I've now sent an updated set of patches, and I've moved some of these to inputs. > > + (arguments > > + `(#:tests? #f ;; TODO: Check phase currently fails =20 >=20 > Maybe leave a few details on why this is failing. I tried to check, and the tests passed, which seems good :) > > + (replace 'install > > + (lambda _ > > + (let ((bin (string-append (assoc-ref %outputs > > "out") "/bin"))) > > + (install-file "mongod" bin) > > + (install-file "mongos" bin) > > + (install-file "mongo" bin)))))))) =20 >=20 > Return #t. Good spot, this should be fixed in the latest patch. > > + (home-page "https://www.mongodb.org/") > > + (synopsis "High performance and high availability document > > database") > > + (description > > + "Mongo is a high-performance, high availability, schema-free > > +document-oriented database. A key goal of MongoDB is to bridge > > the gap +between key/value stores (which are fast and highly > > scalable) and traditional +RDBMS systems (which are deep in > > functionality).") > > + (license (list license:agpl3 license:asl2.0)))) =20 >=20 > AGPL version 3 only? Also please add a comment stating whether it=E2=80= =99s > dual-licensed or something else. I've added a comment stating that the Apache license applies to parts of the source code. I don't believe it's dual licensed. --Sig_/_L8W=juR61p=uCXv4eaq4Uh Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlnPUARfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xdx9Q/+OACjfYbVhOfp4vg80Gurwf7hTmvd7BUQf/PLX7eMrVeOnjvDTFgV07JA Y2J6JF1KAme16SDyrnJaDSe4HQPU+hBaT/a6SkMtqQ0nkC8X9oNyogM6Gc8g7ZEt O4TBoTV1eTVowmv9gBKUP8KllVO1z/UAv4Kl5sb4AZX5rTkN2OZ5oHNh6t67C2IZ +coBTvMAEapw44bqfDJVQpci56M3Y4BjLm65TW7RTyS289Dx7N9iHfACl1lZm5ck /kCeZKMKVnwOfExM8bnaGYVyq1PZTABo91HrayMJjZqLZktyYEEnbLSMzJfhRiEl QZP9iRs1REIlLCyuNNMhk8nDjurEAmf/6ty1xkGhquluvAHJ2sCwlz3zSOj9beZW HEn4Yt+jnbZ/LDy5r+PYpnQGjb6g1kzYdBZ9X/MjamXvWdIrMaZNFXRE6Lp1SKby 7Cu/44E906/08dogenaR74ulssSmwp2s+1bDE+nlnPic9a+wVA/aqPiqRLbPHuWA PpgwrmwKdml3d8QE2dqeVRXuUtpxfDkCiI0kXJvNz4swSEXzft0k/zdyt7BLDz0V hVI8SX2o4PSWfURbDm8GXV4F1KLlV5dXSC2JNtbrdXALTJFDcE8TXo2i6m04boT3 SvEC2s+CicDvuYooaQHLWcMx92tTkdBpYH2WzdoVXBj2SWBP/gQ= =a+DQ -----END PGP SIGNATURE----- --Sig_/_L8W=juR61p=uCXv4eaq4Uh--