lol
1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "libsodium-1.0.16";
5
6 src = fetchurl {
7 url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
8 sha256 = "0cq5pn7qcib7q70mm1lgjwj75xdxix27v0xl1xl0kvxww7hwgbgf";
9 };
10
11 outputs = [ "out" "dev" ];
12 separateDebugInfo = stdenv.isLinux;
13
14 enableParallelBuilding = true;
15
16 doCheck = true;
17
18 meta = with stdenv.lib; {
19 description = "A modern and easy-to-use crypto library";
20 homepage = http://doc.libsodium.org/;
21 license = licenses.isc;
22 maintainers = with maintainers; [ raskin wkennington ];
23 platforms = platforms.all;
24 };
25}