nixpkgs-suyu/pkgs/development/libraries/libsodium/default.nix

22 lines
518 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
2013-10-11 20:37:47 +02:00
stdenv.mkDerivation rec {
name = "libsodium-0.4.3";
2013-10-11 20:37:47 +02:00
src = fetchurl {
url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
sha256 = "0hk0zca1kpj6xlc2j2qx9qy7287pi0896frmxq5d7qmcwsdf372r";
2013-10-11 20:37:47 +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;
};
}