2013-10-11 21:23:10 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2013-10-11 20:37:47 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-01-28 03:58:46 +01:00
|
|
|
name = "libsodium-1.0.16";
|
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";
|
2018-01-28 03:58:46 +01:00
|
|
|
sha256 = "0cq5pn7qcib7q70mm1lgjwj75xdxix27v0xl1xl0kvxww7hwgbgf";
|
2013-10-11 20:37:47 +02:00
|
|
|
};
|
|
|
|
|
2016-08-29 02:30:01 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
2017-07-05 16:04:54 +02:00
|
|
|
separateDebugInfo = stdenv.isLinux;
|
2015-10-13 22:38:36 +02:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-10-11 20:37:47 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
2015-05-02 07:54:29 +02:00
|
|
|
meta = with stdenv.lib; {
|
2015-05-10 00:20:02 +02:00
|
|
|
description = "A modern and easy-to-use crypto library";
|
|
|
|
homepage = http://doc.libsodium.org/;
|
2015-05-02 07:54:29 +02:00
|
|
|
license = licenses.isc;
|
2018-07-22 21:50:19 +02:00
|
|
|
maintainers = with maintainers; [ raskin wkennington ];
|
2015-05-02 07:54:29 +02:00
|
|
|
platforms = platforms.all;
|
2013-10-11 20:37:47 +02:00
|
|
|
};
|
|
|
|
}
|