Add (guix download) and (guix build download).
[jackhill/guix/guix.git] / distro / packages / libsigsegv.scm
CommitLineData
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)
20 #:use-module (guix packages)
21 #:use-module (guix http)
22 #:use-module (guix utils)
23 #:use-module (guix build-system gnu))
24
25(define-public libsigsegv
26 (package
27 (name "libsigsegv")
28 (version "2.10")
29 (source (origin
30 (method http-fetch)
31 (uri (string-append
32 "http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-"
33 version ".tar.gz"))
34 (sha256
35 (base32 "16hrs8k3nmc7a8jam5j1fpspd6sdpkamskvsdpcw6m29vnis8q44"))))
36 (build-system gnu-build-system)
37 (outputs '("out" "lib")) ; separate libdir from the rest
38 (home-page "http://www.gnu.org/software/libsigsegv/")
39 (synopsis "GNU libsigsegv, a library to handle page faults in user mode")
40 (description
41"GNU libsigsegv is a library for handling page faults in user mode. A page
42fault occurs when a program tries to access to a region of memory that is
43currently not available. Catching and handling a page fault is a useful
44technique for implementing pageable virtual memory, memory-mapped access to
45persistent databases, generational garbage collectors, stack overflow
46handlers, distributed shared memory, and more.")
47 (license "GPLv2+")))