diff options
| author | Krzysztof Baranowski <pharcosyle@gmail.com> | 2023-03-03 08:33:12 +0000 |
|---|---|---|
| committer | Jelle Licht <jlicht@fsfe.org> | 2023-04-01 12:57:55 +0200 |
| commit | c31cd7a6d8031affd1960e34ff98db46d1550a05 (patch) | |
| tree | 64c24993831a9786d4fab0cd972f8848131dbba7 | |
| parent | ceeeb5365de0106919857fbf1cead741b0735cfe (diff) | |
nongnu: Add datomic-cli-tools.
* nongnu/packages/databases.scm (datomic-cli-tools): New variable.
| -rw-r--r-- | nongnu/packages/databases.scm | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/nongnu/packages/databases.scm b/nongnu/packages/databases.scm new file mode 100644 index 0000000..96edcd9 --- /dev/null +++ b/nongnu/packages/databases.scm | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | ;;; SPDX-License-Identifier: GPL-3.0-or-later | ||
| 2 | ;;; Copyright © 2023 Krzysztof Baranowski <pharcosyle@gmail.com> | ||
| 3 | |||
| 4 | (define-module (nongnu packages databases) | ||
| 5 | #:use-module (guix build-system copy) | ||
| 6 | #:use-module (guix download) | ||
| 7 | #:use-module (guix gexp) | ||
| 8 | #:use-module (guix packages) | ||
| 9 | #:use-module (gnu packages compression) | ||
| 10 | #:use-module ((guix licenses) #:prefix license:)) | ||
| 11 | |||
| 12 | (define-public datomic-cli-tools | ||
| 13 | (package | ||
| 14 | (name "datomic-cli-tools") | ||
| 15 | (version "1.0.91") | ||
| 16 | (source | ||
| 17 | (origin | ||
| 18 | (method url-fetch) | ||
| 19 | (uri (string-append "https://datomic-releases-1fc2183a.s3.amazonaws.com" | ||
| 20 | "/tools/datomic-cli/datomic-cli-" version ".zip")) | ||
| 21 | (sha256 | ||
| 22 | (base32 | ||
| 23 | "1xicmbsig8f1p5r9rxkhndi0f9l9w421zf49rbx44yc6v0db523b")))) | ||
| 24 | (build-system copy-build-system) | ||
| 25 | (arguments | ||
| 26 | `(#:install-plan | ||
| 27 | '(("." "bin" #:include-regexp ("^\\./datomic")) | ||
| 28 | ("README.txt" "share/doc/datomic/")) | ||
| 29 | #:phases | ||
| 30 | ,#~(modify-phases %standard-phases | ||
| 31 | (add-after 'install 'make-scripts-executable | ||
| 32 | (lambda _ | ||
| 33 | (for-each (lambda (f) (chmod f #o555)) | ||
| 34 | (find-files (string-append #$output "/bin")))))))) | ||
| 35 | (native-inputs | ||
| 36 | (list unzip)) | ||
| 37 | (home-page "https://docs.datomic.com/cloud/index.html") | ||
| 38 | (synopsis "Command-line tools for Datomic Cloud") | ||
| 39 | (description "View and Manage analytics, logs, and access control gateways | ||
| 40 | for a Datomic Cloud instance on AWS.") | ||
| 41 | (license license:asl2.0) | ||
| 42 | (properties | ||
| 43 | `((release-monitoring-url | ||
| 44 | . "https://docs.datomic.com/cloud/releases.html") | ||
| 45 | (upstream-name . "datomic-cli"))))) | ||
