2013-10-11 20:23:10 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2013-10-11 19:37:47 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-10-03 01:22:14 +01:00
|
|
|
name = "libsodium-1.0.15";
|
2013-10-11 19:37:47 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-10-11 20:23:10 +01:00
|
|
|
url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
|
2017-10-03 01:22:14 +01:00
|
|
|
sha256 = "1x3qw7lsz44vcxpcn1dvwig410phg6gmv31jwj94arrgka3rwspv";
|
2013-10-11 19:37:47 +01:00
|
|
|
};
|
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
2017-07-05 15:04:54 +01:00
|
|
|
separateDebugInfo = stdenv.isLinux;
|
2015-10-13 21:38:36 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-10-11 19:37:47 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
2015-05-02 06:54:29 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-05-09 23:20:02 +01:00
|
|
|
description = "A modern and easy-to-use crypto library";
|
|
|
|
homepage = http://doc.libsodium.org/;
|
2015-05-02 06:54:29 +01:00
|
|
|
license = licenses.isc;
|
2015-05-09 23:20:02 +01:00
|
|
|
maintainers = with maintainers; [ raskin viric wkennington ];
|
2015-05-02 06:54:29 +01:00
|
|
|
platforms = platforms.all;
|
2013-10-11 19:37:47 +01:00
|
|
|
};
|
|
|
|
}
|