mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: composer-classloader: Use copy-build-system.
* gnu/packages/php-xyz.scm (composer-classloader)[build-system]: Switch to the copy-build-system. [arguments]: Adjust accordingly. Change-Id: Idb39ba92d973362bd6d8c1dd944a5d46919de5df
This commit is contained in:
parent
fa92a7c2fe
commit
8c07a2c2ba
1 changed files with 4 additions and 14 deletions
|
@ -20,10 +20,8 @@ (define-module (gnu packages php-xyz)
|
|||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages php)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix build-system composer)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system copy)
|
||||
#:use-module (guix utils)
|
||||
#:use-module ((guix licenses) #:prefix license:))
|
||||
|
||||
|
@ -40,18 +38,10 @@ (define-public composer-classloader
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0127zmmg3yx84ljngfs86q7kjhyypybkf4d1ihfrfnzgynzxfxdf"))))
|
||||
(build-system gnu-build-system)
|
||||
(build-system copy-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(delete 'build)
|
||||
(delete 'check)
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out")))
|
||||
(install-file "src/Composer/Autoload/ClassLoader.php"
|
||||
(string-append out "/share/web/composer/"))))))))
|
||||
`(#:install-plan
|
||||
'(("src/Composer/Autoload/ClassLoader.php" "/share/web/composer/"))))
|
||||
(home-page "https://getcomposer.org")
|
||||
(synopsis "PHP class loader extracted from the composer package")
|
||||
(description "This package contains the class loader class used by Composer to
|
||||
|
|
Loading…
Reference in a new issue