mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: Add perl-moox-configfromfile.
* gnu/packages/perl.scm (perl-moox-configfromfile): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
parent
8df39f572c
commit
b936ddf312
1 changed files with 33 additions and 0 deletions
|
@ -5517,6 +5517,39 @@ (define-public perl-moox-cmd
|
|||
most specific one) is instantiated.")
|
||||
(license (package-license perl))))
|
||||
|
||||
(define-public perl-moox-configfromfile
|
||||
(package
|
||||
(name "perl-moox-configfromfile")
|
||||
(version "0.008")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://cpan/authors/id/R/RE/REHSACK/"
|
||||
"MooX-ConfigFromFile-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1zrpz4mzngnhaap6988is0w0aarilfj4kb1yc8hvfqna69lywac0"))))
|
||||
(build-system perl-build-system)
|
||||
(native-inputs
|
||||
`(("perl-hash-merge" ,perl-hash-merge)
|
||||
("perl-json" ,perl-json)
|
||||
("perl-moox-cmd" ,perl-moox-cmd)))
|
||||
(propagated-inputs
|
||||
`(("perl-config-any" ,perl-config-any)
|
||||
("perl-file-configdir" ,perl-file-configdir)
|
||||
("perl-file-find-rule" ,perl-file-find-rule)
|
||||
("perl-hash-merge" ,perl-hash-merge)
|
||||
("perl-moo", perl-moo)
|
||||
("perl-moox-file-configdir" ,perl-moox-file-configdir)
|
||||
("perl-namespace-clean" ,perl-namespace-clean)))
|
||||
(home-page "http://search.cpan.org/dist/MooX-ConfigFromFile/")
|
||||
(synopsis "Moo eXtension for initializing objects from config file")
|
||||
(description "This module is intended to easily load initialization values
|
||||
for attributes on object construction from an appropriate config file. The
|
||||
building is done in @code{MooX::ConfigFromFile::Role}---using
|
||||
@code{MooX::ConfigFromFile} ensures that the role is applied.")
|
||||
(license (package-license perl))))
|
||||
|
||||
(define-public perl-moox-file-configdir
|
||||
(package
|
||||
(name "perl-moox-file-configdir")
|
||||
|
|
Loading…
Reference in a new issue