From be9d0ab2a5300768f2bf8f1ac21110de0a152de2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 1 Jan 2020 12:57:59 +0100 Subject: gnu: Add r-flock. * gnu/packages/cran.scm (r-flock): New variable. --- gnu/packages/cran.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 64804e4f25..c8d9dad9b6 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -19062,3 +19062,25 @@ AFT models.") (description "This package provides methods for variable selection for AFT models.") (license license:gpl2))) + +(define-public r-flock + (package + (name "r-flock") + (version "0.7") + (source + (origin + (method url-fetch) + (uri (cran-uri "flock" version)) + (sha256 + (base32 + "1zg93p74icj4bhxnmnssj2xp6vw4yaksyavq03497v33xfpdxss7")))) + (properties `((upstream-name . "flock"))) + (build-system r-build-system) + (propagated-inputs `(("r-rcpp" ,r-rcpp))) + (home-page "https://cran.r-project.org/web/packages/flock/") + (synopsis "Process synchronization using file locks") + (description + "This package implements synchronization between R processes (spawned by +using the @code{parallel} package for instance) using file locks. It supports +both exclusive and shared locking.") + (license license:asl2.0))) -- cgit 1.4.1