2013-10-11 12:23:10 -07:00
|
|
|
{ stdenv, fetchurl }:
|
2013-10-11 11:37:47 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-30 17:55:55 -07:00
|
|
|
name = "libsodium-1.0.18";
|
2013-10-11 11:37:47 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-10-11 12:23:10 -07:00
|
|
|
url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
|
2019-05-30 17:55:55 -07:00
|
|
|
sha256 = "1h9ncvj23qbbni958knzsli8dvybcswcjbx0qjjgi922nf848l3g";
|
2013-10-11 11:37:47 -07:00
|
|
|
};
|
|
|
|
|
2016-08-28 17:30:01 -07:00
|
|
|
outputs = [ "out" "dev" ];
|
2019-09-29 03:01:21 -07:00
|
|
|
separateDebugInfo = stdenv.isLinux && stdenv.hostPlatform.libc != "musl";
|
2015-10-13 13:38:36 -07:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-10-11 11:37:47 -07:00
|
|
|
doCheck = true;
|
|
|
|
|
2015-05-01 22:54:29 -07:00
|
|
|
meta = with stdenv.lib; {
|
2015-05-09 15:20:02 -07:00
|
|
|
description = "A modern and easy-to-use crypto library";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://doc.libsodium.org/";
|
2015-05-01 22:54:29 -07:00
|
|
|
license = licenses.isc;
|
2019-01-26 02:01:09 -08:00
|
|
|
maintainers = with maintainers; [ raskin ];
|
2015-05-01 22:54:29 -07:00
|
|
|
platforms = platforms.all;
|
2013-10-11 11:37:47 -07:00
|
|
|
};
|
|
|
|
}
|