diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-09-06 00:24:23 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-09-06 00:36:49 +0300 |
commit | c4c625b3866c88318b7f58cc49a748f452122602 (patch) | |
tree | 7258ce04892060abdc112dbbbd53762eca2cfd49 /gnu/packages/phabricator.scm | |
parent | 44f93ed6ed04bd1f47c86577568520584e207862 (diff) | |
download | guix-c4c625b3866c88318b7f58cc49a748f452122602.tar.gz |
gnu: arcanist: Update to 0.0.0-2.ceb082e.
* gnu/packages/phabricator.scm (arcanist): Update to 0.0.0-2.ceb082e. [inputs]: Remove libphutil. [arguments]: Adjust custom 'install phase for removed input. Wrap binary with php. [license]: Add license of vendored library.
Diffstat (limited to 'gnu/packages/phabricator.scm')
-rw-r--r-- | gnu/packages/phabricator.scm | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gnu/packages/phabricator.scm b/gnu/packages/phabricator.scm index e4a4f79942..7e4d6b9565 100644 --- a/gnu/packages/phabricator.scm +++ b/gnu/packages/phabricator.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018 Robin Templeton <robin@igalia.com> +;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il> ;;; ;;; This file is part of GNU Guix. ;;; @@ -64,8 +65,8 @@ PHP.") (license (list license:asl2.0 license:expat))))) (define-public arcanist - (let ((commit "45a8d22c74a62624e69f5cd6ce901c9ab2658904") - (revision "1")) + (let ((commit "ceb082ef6b2919d76a90d4a53ca84f5b1e0c2c06") + (revision "2")) (package (name "arcanist") (version (git-version "0.0.0" revision commit)) @@ -77,8 +78,9 @@ PHP.") (file-name (git-file-name name version)) (sha256 (base32 - "13vswhqy9sap6841y93j4mj71dl27vhcivcn3rzyi0cchkhg2ac9")))) + "16590nywh3cpm2yq4igw3nfa8g84kwza215mrnqr2k6b2cqzjak3")))) (build-system gnu-build-system) + ;; TODO: Unbundle jsonlint (arguments '(#:tests? #f #:phases @@ -86,22 +88,20 @@ PHP.") (delete 'configure) (delete 'build) (replace 'install - (lambda _ - (let ((bin (string-append %output "/bin")) - (lib (string-append %output "/lib/arcanist"))) + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (lib (string-append out "/lib/arcanist"))) (mkdir-p lib) (copy-recursively "." lib) (mkdir-p bin) (symlink (string-append lib "/bin/arc") (string-append bin "/arc")) (wrap-program (string-append bin "/arc") - `("ARC_PHUTIL_PATH" = - (,(string-append (assoc-ref %build-inputs "libphutil") - "/lib/libphutil"))) `("PATH" ":" prefix (,@(map (lambda (i) (string-append (assoc-ref %build-inputs i) "/bin")) - '("git" "mercurial" "subversion")))))) + '("php" "git" "mercurial" "subversion")))))) #t)) (add-before 'reset-gzip-timestamps 'make-compressed-files-writable (lambda _ @@ -110,7 +110,6 @@ PHP.") #t))))) (inputs `(("php" ,php) - ("libphutil" ,libphutil) ("git" ,git) ("mercurial" ,mercurial) ("subversion" ,subversion))) @@ -121,4 +120,5 @@ PHP.") development service. It allows you to interact with Phabricator installs to send code for review, download patches, transfer files, view status, make API calls, and various other things.") - (license license:asl2.0)))) + ;; Bundled libraries are expat-licensed. + (license (list license:asl2.0 license:expat))))) |