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

26 lines
635 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
2013-10-11 18:37:47 +00:00
stdenv.mkDerivation rec {
2018-01-28 02:58:46 +00:00
name = "libsodium-1.0.16";
2013-10-11 18:37:47 +00:00
src = fetchurl {
url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
2018-01-28 02:58:46 +00:00
sha256 = "0cq5pn7qcib7q70mm1lgjwj75xdxix27v0xl1xl0kvxww7hwgbgf";
2013-10-11 18:37:47 +00:00
};
outputs = [ "out" "dev" ];
2017-07-05 14:04:54 +00:00
separateDebugInfo = stdenv.isLinux;
enableParallelBuilding = true;
2013-10-11 18:37:47 +00:00
doCheck = true;
2015-05-02 05:54:29 +00:00
meta = with stdenv.lib; {
2015-05-09 22:20:02 +00:00
description = "A modern and easy-to-use crypto library";
homepage = http://doc.libsodium.org/;
2015-05-02 05:54:29 +00:00
license = licenses.isc;
2015-05-09 22:20:02 +00:00
maintainers = with maintainers; [ raskin viric wkennington ];
2015-05-02 05:54:29 +00:00
platforms = platforms.all;
2013-10-11 18:37:47 +00:00
};
}