mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
26 lines
635 B
Nix
26 lines
635 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libsodium-1.0.15";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
|
|
sha256 = "1x3qw7lsz44vcxpcn1dvwig410phg6gmv31jwj94arrgka3rwspv";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
separateDebugInfo = stdenv.isLinux;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
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;
|
|
};
|
|
}
|