nixpkgs/pkgs/development/libraries/libsodium/default.nix

25 lines
597 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
2013-10-11 20:37:47 +02:00
stdenv.mkDerivation rec {
2017-03-16 15:45:07 +01:00
name = "libsodium-1.0.12";
2013-10-11 20:37:47 +02:00
src = fetchurl {
url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
2017-03-16 15:45:07 +01:00
sha256 = "159givfh5jgli3cifxgssivkklfyfq6lzyjgrx8h4jx5ncdqyr5q";
2013-10-11 20:37:47 +02:00
};
outputs = [ "out" "dev" ];
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;
2015-05-10 00:20:02 +02:00
maintainers = with maintainers; [ raskin viric wkennington ];
2015-05-02 07:54:29 +02:00
platforms = platforms.all;
2013-10-11 20:37:47 +02:00
};
}