2013-10-11 21:23:10 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2013-10-11 20:37:47 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-13 21:52:34 +01:00
|
|
|
name = "libsodium-0.4.5";
|
2013-10-11 20:37:47 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-10-11 21:23:10 +02:00
|
|
|
url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
|
2013-12-13 21:52:34 +01:00
|
|
|
sha256 = "0cmcw479p866r6cjh20wzjr84pdn0mfswr5h57mw1siyylnj1mbs";
|
2013-10-11 20:37:47 +02:00
|
|
|
};
|
|
|
|
|
2013-10-11 21:23:10 +02:00
|
|
|
NIX_LDFLAGS = "-lssp";
|
2013-10-11 20:37:47 +02:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Version of NaCl with harwdare tests at runtime, not build time";
|
|
|
|
license = "ISC";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|