GNU bug report logs -
#67902
[PATCH 00/95] PHP package chain.
Previous Next
Full log
View this message in rfc822 format
* gnu/packages/php-bootstrap.scm (php-myclabs-deep-copy): New variable.
---
gnu/packages/php-bootstrap.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index 66fbf602bc..6c24a5357d 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -338,3 +338,32 @@ (define-public php-mockery-mockery
framework, often used for tests.")
(home-page "https://github.com/mockery/mockery")
(license license:bsd-3)))
+
+(define-public php-myclabs-deep-copy
+ (package
+ (name "php-myclabs-deep-copy")
+ (version "1.11.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/myclabs/DeepCopy")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jica9cx65a3l70p1sn6vjz5dxdqfwf5msvn1v4qnp6ah7rh4xcv"))))
+ (build-system composer-build-system)
+ (arguments
+ '(#:test-flags '("--bootstrap" "vendor/autoload.php")))
+ (native-inputs
+ (list php-phpunit-phpunit
+ php-doctrine-collections
+ php-doctrine-common
+ php-phpspec-prophecy))
+ (synopsis "Create copies of PHP objects")
+ (description "This package contains a facility to create deep copies (clones)
+of PHP objects. This package not only creates a new copy of an object, it
+recursively create new copies of any object referenced by the object. It is
+designed to work even in the presence of cycles in the association graph.")
+ (home-page "https://github.com/myclabs/DeepCopy")
+ (license license:expat)))
--
2.46.0
This bug report was last modified 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.