Commit | Line | Data |
---|---|---|
f5844fde MW |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2015 Joshua S. Grant <jgrant@parenthetical.io> | |
3 | ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> | |
70cb7610 | 4 | ;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il> |
f5844fde MW |
5 | ;;; |
6 | ;;; This file is part of GNU Guix. | |
7 | ;;; | |
8 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
9 | ;;; under the terms of the GNU General Public License as published by | |
10 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
11 | ;;; your option) any later version. | |
12 | ;;; | |
13 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
14 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | ;;; GNU General Public License for more details. | |
17 | ;;; | |
18 | ;;; You should have received a copy of the GNU General Public License | |
19 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
20 | ||
21 | (define-module (gnu packages libffcall) | |
22 | #:use-module ((guix licenses) #:prefix l:) | |
70cb7610 | 23 | #:use-module (guix utils) ; string-replace-substring |
f5844fde MW |
24 | #:use-module (guix packages) |
25 | #:use-module (guix download) | |
70cb7610 | 26 | #:use-module (guix git-download) |
f5844fde MW |
27 | #:use-module (guix build-system gnu)) |
28 | ||
29 | (define-public libffcall | |
30 | (package | |
31 | (name "libffcall") | |
70cb7610 | 32 | (version "1.12") |
f5844fde MW |
33 | (source |
34 | (origin | |
70cb7610 EF |
35 | (method git-fetch) |
36 | (uri (git-reference | |
37 | (url "https://git.savannah.gnu.org/r/libffcall.git") | |
38 | (commit (string-append | |
39 | "ffcall-" (string-replace-substring version "." "-"))))) | |
283f04b0 | 40 | (file-name (string-append name "-" version "-checkout")) |
f5844fde MW |
41 | (sha256 |
42 | (base32 | |
70cb7610 | 43 | "0p7gg5k4ifcqpmrmdfmr2r4x909cn35g87iff539p6i8891fdfxf")))) |
f5844fde MW |
44 | (build-system gnu-build-system) |
45 | (arguments `(#:parallel-build? #f)) | |
4cc78cb3 | 46 | (synopsis "Foreign function calls from interpreters") |
f5844fde MW |
47 | (description |
48 | "GNU Libffcall is a collection of libraries that can be used to build | |
49 | foreign function call interfaces in embedded interpreters.") | |
5302eba6 EF |
50 | (home-page "https://www.gnu.org/software/libffcall/") |
51 | (supported-systems (delete "aarch64-linux" %supported-systems)) | |
6a070700 | 52 | (license l:gpl2+))) |