unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#75075] [PATCH] gnu: Add julia-precompiletools.
@ 2024-12-24 23:41 King, Spencer via Guix-patches via
  0 siblings, 0 replies; only message in thread
From: King, Spencer via Guix-patches via @ 2024-12-24 23:41 UTC (permalink / raw)
  To: 75075

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: 0001-gnu-Add-julia-precompiletools.patch --]
[-- Type: application/octet-stream, Size: 2009 bytes --]

From e819bf8e5451572e52e6dede77a72df5321041f0 Mon Sep 17 00:00:00 2001
Message-Id: <e819bf8e5451572e52e6dede77a72df5321041f0.1735083570.git.spencer.king@geneoscopy.com>
From: Spencer King <spencer.king@geneoscopy.com>
Date: Tue, 24 Dec 2024 23:39:09 +0000
Subject: [PATCH] gnu: Add julia-precompiletools.

* gnu/packages/julia-xyz.scm (julia-precompiletools): New variable.

Change-Id: Id5adc9a28c8985bddf51261a2385b7168ffe8b4e
---
 gnu/packages/julia-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 4b778812ca..c55549cfbb 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -5051,6 +5051,34 @@ (define-public julia-positivefactorizations
 definite.")
     (license license:expat)))
 
+(define-public julia-precompiletools
+  (package
+    (name "julia-precompiletools")
+    (version "1.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/JuliaLang/PrecompileTools.jl")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "07b69gmgs3zxs86l9g9dymv3sfgncm8sl86sp0ck6xf5ly10phiy"))))
+    (build-system julia-build-system)
+    ;; Tests try to download other repositories
+    ;; Tests try to install "fake" packages
+    (arguments
+     (list
+      #:tests? #f))
+    (propagated-inputs (list julia-preferences))
+    (home-page "https://github.com/JuliaLang/PrecompileTools.jl")
+    (synopsis "Reduce time-to-first-execution of Julia code")
+    (description
+     "This package allows you to reduce the latency of the first
+execution of Julia code.  It is applicable to both package developers and
+end users in their personal workflows.")
+    (license license:expat)))
+
 (define-public julia-preferences
   (package
     (name "julia-preferences")

base-commit: eb6d784852dfcade2f5052c4d6fc1bd469f3cdb6
-- 
2.34.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-24 23:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-24 23:41 [bug#75075] [PATCH] gnu: Add julia-precompiletools King, Spencer via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).