summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorRoel Janssen <roel@gnu.org>2021-05-27 11:24:44 +0200
committerRoel Janssen <roel@gnu.org>2021-05-27 11:24:44 +0200
commitc555f54af5faefdfeb9f00abd50c9b82aefe572f (patch)
tree984b9c629964551d52afaf5b7549789ca369b2ea /gnu/packages/perl.scm
parent23ab7067f32495a8a02710c08b7cfe0e21be7f3f (diff)
downloadguix-c555f54af5faefdfeb9f00abd50c9b82aefe572f.tar.gz
gnu: Add perl-bsd-resource.
* gnu/packages/perl.scm (perl-bsd-resource): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 7d3a5f7010..d449abc78c 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -667,6 +667,25 @@ presence, and the first one found is executed.  With an optional parameter,
 all known commands are checked.")
     (license (package-license perl))))
 
+(define-public perl-bsd-resource
+  (package
+   (name "perl-bsd-resource")
+   (version "1.2911")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (string-append
+           "https://cpan.metacpan.org/authors/id/J/JH/JHI/BSD-Resource-"
+           version ".tar.gz"))
+     (sha256
+      (base32 "0g8c7825ng2m0yz5sy6838rvfdl8j3vm29524wjgf66ccfhgn74x"))))
+   (build-system perl-build-system)
+   (home-page "https://metacpan.org/release/BSD-Resource")
+   (synopsis "BSD process resource limit and priority functions")
+   (description "This package provides procedures to get and set resource
+limits like @code{getrlimit} and @code{setpriority}.")
+   (license license:artistic2.0)))
+
 (define-public perl-b-hooks-endofscope
   (package
     (name "perl-b-hooks-endofscope")