From 72a5160025feb84bf7fb111fd1d2b2a29d0ffdb9 Mon Sep 17 00:00:00 2001 From: John Kehayias Date: Fri, 24 Dec 2021 13:45:59 -0500 Subject: [PATCH 1/5] gnu: Add ghc-primitive-addr. * gnu/packages/haskell-xyz.scm (ghc-primitive-addr): New variable. --- gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index e2adefa48f..7649e4922d 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -29,6 +29,7 @@ ;;; Copyright © 2020 Carlo Holl ;;; Copyright © 2020 Christine Lemmer-Webber ;;; Copyright © 2021 Alice BRENON +;;; Copyright © 2021 John Kehayias ;;; ;;; This file is part of GNU Guix. ;;; @@ -9944,6 +9945,28 @@ (define-public ghc-primitive "This package provides various primitive memory-related operations.") (license license:bsd-3))) +(define-public ghc-primitive-addr + (package + (name "ghc-primitive-addr") + (version "0.1.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/primitive-addr/primitive-addr-" + version + ".tar.gz")) + (sha256 + (base32 "06r1p56wm8rbjxnlaqbmc3rbsj1rsv5scwnh80lsn0xw56jc70a2")))) + (build-system haskell-build-system) + (inputs (list ghc-primitive)) + (home-page "https://github.com/haskell-primitive/primitive-addr") + (synopsis "Addresses to unmanaged memory") + (description + "This library provides the @code{Data.Primitive.Addr} module that was a part +of the @code{primitive} library before @code{primitive-0.7.0.0}.") + (license license:bsd-3))) + (define-public ghc-process-extras (package (name "ghc-process-extras") -- 2.34.1