diff options
author | Petter <petter@mykolab.ch> | 2017-10-24 23:09:42 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-10-24 23:30:24 +0200 |
commit | b936ddf31243015e2896e7cc62e0f2a0cef91fe6 (patch) | |
tree | ea6f4c914562755f37a11a2bbc8cd804572cbc24 /gnu/packages/perl.scm | |
parent | 8df39f572cf5f2bdf1181aa23b5ace17615b0323 (diff) | |
download | guix-b936ddf31243015e2896e7cc62e0f2a0cef91fe6.tar guix-b936ddf31243015e2896e7cc62e0f2a0cef91fe6.tar.gz |
gnu: Add perl-moox-configfromfile.
* gnu/packages/perl.scm (perl-moox-configfromfile): New variable.
Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r-- | gnu/packages/perl.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 992c21de43..8758909461 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -5517,6 +5517,39 @@ the path through the tree (starting from the top-level command through to the 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") |