summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-09-06 00:25:40 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-09-06 00:36:58 +0300
commita02b2f8b86c0227eb69aa24b4373aef456365334 (patch)
treed0796aa74f168c776351433f55d948bb2866137f
parentc4c625b3866c88318b7f58cc49a748f452122602 (diff)
downloadguix-a02b2f8b86c0227eb69aa24b4373aef456365334.tar.gz
gnu: libphutil: Deprecate package.
This package was deprecated upstream and the functionality was moved
into arcanist and phabricator.

* gnu/packages/phabricator.scm (libphutil): Deprecate package.
-rw-r--r--gnu/packages/phabricator.scm42
1 files changed, 3 insertions, 39 deletions
diff --git a/gnu/packages/phabricator.scm b/gnu/packages/phabricator.scm
index 7e4d6b9565..af95cd93d2 100644
--- a/gnu/packages/phabricator.scm
+++ b/gnu/packages/phabricator.scm
@@ -25,45 +25,6 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages))
 
-(define-public libphutil
-  (let ((commit "b29d76e1709ef018cc5edc7c03033fd9fdebc578")
-        (revision "1"))
-    (package
-      (name "libphutil")
-      (version (git-version "0.0.0" revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/phacility/libphutil")
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "06j84721r9r8624fmil62b5crs2qs0v6rr3cvv2zvkvwhxwrwv1l"))))
-      (build-system gnu-build-system)
-      ;; TODO: Unbundle jsonlint and porter-stemmer.
-      (arguments
-       '(#:tests? #f
-         #:phases
-         (modify-phases %standard-phases
-           (delete 'configure)
-           (delete 'build)
-           (replace 'install
-             (lambda _
-               (let ((lib (string-append %output "/lib/libphutil")))
-                 (mkdir-p lib)
-                 (copy-recursively "." lib))
-               #t)))))
-      (inputs
-       `(("php" ,php)))
-      (home-page "https://github.com/phacility/libphutil")
-      (synopsis "PHP utility library")
-      (description
-       "@code{libphutil} is a collection of utility classes and functions for
-PHP.")
-      ;; Bundled libraries are expat-licensed.
-      (license (list license:asl2.0 license:expat)))))
-
 (define-public arcanist
   (let ((commit "ceb082ef6b2919d76a90d4a53ca84f5b1e0c2c06")
         (revision "2"))
@@ -122,3 +83,6 @@ send code for review, download patches, transfer files, view status, make API
 calls, and various other things.")
       ;; Bundled libraries are expat-licensed.
       (license (list license:asl2.0 license:expat)))))
+
+(define-public libphutil
+  (deprecated-package "libphutil" arcanist))