2013-10-11 21:23:10 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2013-10-11 20:37:47 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-18 09:23:01 +02:00
|
|
|
name = "libsodium-0.7.0";
|
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";
|
2014-09-18 09:23:01 +02:00
|
|
|
sha256 = "0s4iis5h7yh27kamwic3rddyp5ra941bcqcawa37grjvl78zzjjc";
|
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 = {
|
2015-02-03 16:28:20 +01:00
|
|
|
description = "Version of NaCl with hardware tests at runtime, not build time";
|
2014-11-06 01:44:33 +01:00
|
|
|
license = stdenv.lib.licenses.isc;
|
2013-10-11 20:37:47 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|