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