1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 version = "0.3.110";
5 name = "libaio-${version}";
6
7 src = fetchurl {
8 url = "https://fedorahosted.org/releases/l/i/libaio/${name}.tar.gz";
9 sha256 = "0zjzfkwd1kdvq6zpawhzisv7qbq1ffs343i5fs9p498pcf7046g0";
10 };
11
12 makeFlags = "prefix=$(out)";
13
14 hardeningDisable = stdenv.lib.optional (stdenv.isi686) "stackprotector";
15
16 meta = {
17 description = "Library for asynchronous I/O in Linux";
18 homepage = http://lse.sourceforge.net/io/aio.html;
19 platforms = stdenv.lib.platforms.linux;
20 license = stdenv.lib.licenses.lgpl21;
21 maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
22 };
23}