mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +01:00
gnu: Add ghc-libffi.
* gnu/packages/haskell.scm (ghc-libffi): New variable.
This commit is contained in:
parent
a4df9ba4ec
commit
fb038f32ae
1 changed files with 23 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
;;; Copyright © 2015, 2016 Federico Beffa <beffa@fbengineering.ch>
|
;;; Copyright © 2015, 2016 Federico Beffa <beffa@fbengineering.ch>
|
||||||
;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
|
;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
|
||||||
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
||||||
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2015, 2019 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;; Copyright © 2016, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2016, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
|
;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
|
||||||
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||||
|
@ -833,6 +833,28 @@ (define-public ghc-code-page
|
||||||
nothing.")
|
nothing.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public ghc-libffi
|
||||||
|
(package
|
||||||
|
(name "ghc-libffi")
|
||||||
|
(version "0.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://hackage.haskell.org/package/"
|
||||||
|
"libffi/libffi-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0g7jnhng3j7z5517aaqga0144aamibsbpgm3yynwyfzkq1kp0f28"))))
|
||||||
|
(build-system haskell-build-system)
|
||||||
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||||
|
(inputs `(("libffi" ,libffi)))
|
||||||
|
(home-page "http://hackage.haskell.org/package/libffi")
|
||||||
|
(synopsis "Haskell binding to libffi")
|
||||||
|
(description
|
||||||
|
"A binding to libffi, allowing C functions of types only known at runtime
|
||||||
|
to be called from Haskell.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public ghc-newtype-generics
|
(define-public ghc-newtype-generics
|
||||||
(package
|
(package
|
||||||
(name "ghc-newtype-generics")
|
(name "ghc-newtype-generics")
|
||||||
|
|
Loading…
Reference in a new issue