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

25 lines
596 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
2013-10-11 19:37:47 +01:00
stdenv.mkDerivation rec {
2015-11-06 02:19:37 +00:00
name = "libsodium-1.0.6";
2013-10-11 19:37:47 +01:00
src = fetchurl {
url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
2015-11-06 02:19:37 +00:00
sha256 = "0ngvcjwg6m9nivzi208yvz8yvmk6kxnvyr25w907kaicgpm063cl";
2013-10-11 19:37:47 +01:00
};
outputs = [ "dev" "out" ];
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
};
}