From 5fa8e9b0d5a95d801627cc11373260734fd6a509 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 12 Aug 2019 02:50:47 -0500 Subject: gn: add missing module imports --- gn/packages/mongodb.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gn/packages/mongodb.scm') diff --git a/gn/packages/mongodb.scm b/gn/packages/mongodb.scm index 79c2b75..ccf9ef7 100644 --- a/gn/packages/mongodb.scm +++ b/gn/packages/mongodb.scm @@ -25,7 +25,8 @@ #:use-module (gnu packages) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) - #:use-module (gnu packages python)) + #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz)) (define-public mongodb ; guix fix tests and maybe non-free (package -- cgit v1.2.3 From 54d38e0c0ecf0421b0cff5c5bee5d1a9487bd392 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 12 Aug 2019 03:55:23 -0500 Subject: gn: mongodb upstreamed --- gn/packages/mongodb.scm | 75 ------------------------------------------------- 1 file changed, 75 deletions(-) delete mode 100644 gn/packages/mongodb.scm (limited to 'gn/packages/mongodb.scm') diff --git a/gn/packages/mongodb.scm b/gn/packages/mongodb.scm deleted file mode 100644 index ccf9ef7..0000000 --- a/gn/packages/mongodb.scm +++ /dev/null @@ -1,75 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016 Roel Janssen -;;; -;;; This file is part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see . - -(define-module (gn packages mongodb) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix packages) - #:use-module (guix utils) - #:use-module (guix download) - #:use-module (guix build-system gnu) - #:use-module (gnu packages) - #:use-module (gnu packages perl) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages python) - #:use-module (gnu packages python-xyz)) - -(define-public mongodb ; guix fix tests and maybe non-free - (package - (name "mongodb") - (version "3.3.3") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/mongodb/mongo/archive/r" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01v16j8xbry7m7apwlhiqhgx3zyyk2kadyk2sr9m6k20wnh5j24y")) - (patches (list (search-patch "mongodb-add-version-file.patch"))))) - (build-system gnu-build-system) - (native-inputs - `(("scons" ,scons) - ("python" ,python-2) - ("perl" ,perl))) - (arguments - `(#:tests? #f ; There is no 'check' target. - #:phases - (modify-phases %standard-phases - (delete 'configure) ; There is no configure phase - (add-after 'unpack 'scons-propagate-environment - (lambda _ - ;; Modify the SConstruct file to arrange for - ;; environment variables to be propagated. - (substitute* "SConstruct" - (("^env = Environment\\(") - "env = Environment(ENV=os.environ, ")))) - (replace 'build - (lambda _ - (zero? (system* "scons" "mongod" "mongo" "mongos")))) - (replace 'install - (lambda _ - (let ((bin (string-append (assoc-ref %outputs "out") "/bin"))) - (install-file "mongod" bin) - (install-file "mongos" bin) - (install-file "mongo" bin))))))) - (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)))) -- cgit v1.2.3