2013-10-11 20:23:10 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2013-10-11 19:37:47 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-18 08:23:01 +01:00
|
|
|
name = "libsodium-0.7.0";
|
2013-10-11 19:37:47 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-10-11 20:23:10 +01:00
|
|
|
url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
|
2014-09-18 08:23:01 +01:00
|
|
|
sha256 = "0s4iis5h7yh27kamwic3rddyp5ra941bcqcawa37grjvl78zzjjc";
|
2013-10-11 19:37:47 +01:00
|
|
|
};
|
|
|
|
|
2013-10-11 20:23:10 +01:00
|
|
|
NIX_LDFLAGS = "-lssp";
|
2013-10-11 19:37:47 +01: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;
|
|
|
|
};
|
|
|
|
}
|