[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
134/184: gnu: Add perl-moox-strictconstructor.
From: |
guix-commits |
Subject: |
134/184: gnu: Add perl-moox-strictconstructor. |
Date: |
Wed, 27 Nov 2019 14:37:14 -0500 (EST) |
kkebreau pushed a commit to branch wip-gnome-updates
in repository guix.
commit 27117f0ee82d4b4e70669bb480ba56ac7b55c59d
Author: Efraim Flashner <address@hidden>
Date: Sat Nov 9 22:16:38 2019 +0200
gnu: Add perl-moox-strictconstructor.
* gnu/packages/perl.scm (perl-moox-strictconstructor): New variable.
---
gnu/packages/perl.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 5107700..0879fe8 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -6471,6 +6471,35 @@ takes additional parameters and uses
@code{Getopt::Long::Descriptive} to
generate a command line tool.")
(license (package-license perl))))
+(define-public perl-moox-strictconstructor
+ (package
+ (name "perl-moox-strictconstructor")
+ (version "0.010")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/H/HA/HARTZELL/MooX-StrictConstructor-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0vvjgz7xbfmf69yav7sxsxmvklqv835xvh7h47w0apxmlkm9fjgr"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-fatal" ,perl-test-fatal)))
+ (propagated-inputs
+ `(("perl-class-method-modifiers" ,perl-class-method-modifiers)
+ ("perl-moo" ,perl-moo)
+ ("perl-strictures" ,perl-strictures)))
+ (home-page "https://metacpan.org/release/MooX-StrictConstructor")
+ (synopsis "Make Moo-based object constructors blow up on unknown
attributes")
+ (description
+ "Loading @code{MooX::StrictConstructor} makes your constructors
\"strict\".
+If your constructor is called with an attribute init argument that your class
+does not declare, then it dies.")
+ (license perl-license)))
+
(define-public perl-moox-types-mooselike
(package
(name "perl-moox-types-mooselike")
- 87/184: gnu: libdvdnav: Update to 6.0.1., (continued)
- 87/184: gnu: libdvdnav: Update to 6.0.1., guix-commits, 2019/11/27
- 92/184: gnu: Fix deprecation of monolithic Qt 5.x package., guix-commits, 2019/11/27
- 104/184: gnu: fcitx-configtool: Don't use NAME in source URI., guix-commits, 2019/11/27
- 108/184: guix: Add file-locking with no wait., guix-commits, 2019/11/27
- 126/184: gnu: neovim: Update to 0.4.3., guix-commits, 2019/11/27
- 158/184: gnu: faad2: Use HTTPS home page., guix-commits, 2019/11/27
- 160/184: gnu: cgal: Update to 4.14.2., guix-commits, 2019/11/27
- 180/184: gnu: zita-convolver: Update to 4.0.3., guix-commits, 2019/11/27
- 115/184: gnu: python-psutil: Update to 5.6.5., guix-commits, 2019/11/27
- 122/184: ui: Emit hyperlinks for 'license' in package search results., guix-commits, 2019/11/27
- 134/184: gnu: Add perl-moox-strictconstructor.,
guix-commits <=
- 151/184: gnu: babl: Update to 0.1.72., guix-commits, 2019/11/27
- 156/184: gnu: xfce4-whiskermenu-plugin: Update to 2.3.4., guix-commits, 2019/11/27
- 150/184: gnu: fvwm: Update to 2.6.9., guix-commits, 2019/11/27
- 167/184: gnu: haskell-apps.scm: Add missing import., guix-commits, 2019/11/27
- 169/184: gnu: raincat: Use 'mirror-url'., guix-commits, 2019/11/27
- 178/184: gnu: gnome: Add gnome-screenshot to default apps., guix-commits, 2019/11/27
- 131/184: gnu: python-reportlab: Update to 3.5.32., guix-commits, 2019/11/27
- 130/184: gnu: botan: Use getentropy()., guix-commits, 2019/11/27
- 116/184: gnu: perl-danga-socket: Update to 1.62., guix-commits, 2019/11/27
- 143/184: gnu: make-bootstrap: Slightly clarify 'package-with-relocatable-glibc'., guix-commits, 2019/11/27