nixpkgs/pkgs/development/libraries/libsodium/default.nix
William A. Kennington III f9c77b6d72 libsodium: 1.0.3 - 1.0.6
2015-11-05 18:21:42 -08:00

23 lines
600 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "libsodium-1.0.6";
src = fetchurl {
url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
sha256 = "0ngvcjwg6m9nivzi208yvz8yvmk6kxnvyr25w907kaicgpm063cl";
};
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.cc.isGNU "-lssp";
doCheck = true;
meta = with stdenv.lib; {
description = "A modern and easy-to-use crypto library";
homepage = http://doc.libsodium.org/;
license = licenses.isc;
maintainers = with maintainers; [ raskin viric wkennington ];
platforms = platforms.all;
};
}