22 lines
536 B
Nix
22 lines
536 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libsodium-1.0.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
|
|
sha256 = "06dabf77cz6qg7aqv5j5r4m32b5zn253pixwb3k5lm3z0h88y7cn";
|
|
};
|
|
|
|
NIX_LDFLAGS = "-lssp";
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Version of NaCl with hardware tests at runtime, not build time";
|
|
license = stdenv.lib.licenses.isc;
|
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|