Commit | Line | Data |
---|---|---|
c44899a2 LC |
1 | ;;; Guix --- Nix package management from Guile. -*- coding: utf-8 -*- |
2 | ;;; Copyright (C) 2012 Ludovic Courtès <ludo@gnu.org> | |
3 | ;;; | |
4 | ;;; This file is part of Guix. | |
5 | ;;; | |
6 | ;;; Guix is free software; you can redistribute it and/or modify it | |
7 | ;;; under the terms of the GNU General Public License as published by | |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
11 | ;;; Guix is distributed in the hope that it will be useful, but | |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
17 | ;;; along with Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | (define-module (distro packages libsigsegv) | |
4a44e743 | 20 | #:use-module (guix licenses) |
c44899a2 | 21 | #:use-module (guix packages) |
87f5d366 | 22 | #:use-module (guix download) |
c44899a2 LC |
23 | #:use-module (guix utils) |
24 | #:use-module (guix build-system gnu)) | |
25 | ||
26 | (define-public libsigsegv | |
27 | (package | |
28 | (name "libsigsegv") | |
29 | (version "2.10") | |
30 | (source (origin | |
87f5d366 | 31 | (method url-fetch) |
c44899a2 | 32 | (uri (string-append |
0db342a5 | 33 | "mirror://gnu/libsigsegv/libsigsegv-" |
c44899a2 LC |
34 | version ".tar.gz")) |
35 | (sha256 | |
36 | (base32 "16hrs8k3nmc7a8jam5j1fpspd6sdpkamskvsdpcw6m29vnis8q44")))) | |
37 | (build-system gnu-build-system) | |
38 | (outputs '("out" "lib")) ; separate libdir from the rest | |
39 | (home-page "http://www.gnu.org/software/libsigsegv/") | |
40 | (synopsis "GNU libsigsegv, a library to handle page faults in user mode") | |
41 | (description | |
42 | "GNU libsigsegv is a library for handling page faults in user mode. A page | |
43 | fault occurs when a program tries to access to a region of memory that is | |
44 | currently not available. Catching and handling a page fault is a useful | |
45 | technique for implementing pageable virtual memory, memory-mapped access to | |
46 | persistent databases, generational garbage collectors, stack overflow | |
47 | handlers, distributed shared memory, and more.") | |
4a44e743 | 48 | (license gpl2+))) |