2017-06-04 02:35:03 +02:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, buildPlatform, hostPlatform
|
|
|
|
}:
|
2009-08-10 00:24:05 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-04-11 11:53:49 +02:00
|
|
|
name = "libsigsegv-2.11";
|
2009-08-10 00:24:05 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/libsigsegv/${name}.tar.gz";
|
2017-04-11 11:53:49 +02:00
|
|
|
sha256 = "063swdvq7mbmc1clv0rnh20grwln1zfc2qnm0sa1hivcxyr2wz6x";
|
2009-08-10 00:24:05 +02:00
|
|
|
};
|
|
|
|
|
2017-06-04 02:35:03 +02:00
|
|
|
doCheck = hostPlatform == buildPlatform;
|
2009-08-10 00:24:05 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.gnu.org/software/libsigsegv/;
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Library to handle page faults in user mode";
|
2009-08-10 00:24:05 +02:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
GNU libsigsegv is a library for handling page faults in user mode. A
|
|
|
|
page fault occurs when a program tries to access to a region of memory
|
|
|
|
that is currently not available. Catching and handling a page fault is
|
|
|
|
a useful technique for implementing pageable virtual memory,
|
|
|
|
memory-mapped access to persistent databases, generational garbage
|
|
|
|
collectors, stack overflow handlers, distributed shared memory, and
|
|
|
|
more.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2009-08-10 00:24:05 +02:00
|
|
|
|
2015-01-13 22:33:24 +01:00
|
|
|
maintainers = [ ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-08-10 00:24:05 +02:00
|
|
|
};
|
|
|
|
}
|