Adding libsodium 0.4.3.
This commit is contained in:
parent
3ba1970cfd
commit
2cf008345e
30
pkgs/development/libraries/libsodium/default.nix
Normal file
30
pkgs/development/libraries/libsodium/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ stdenv, fetchurl, autoconf, libtool, automake }:
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "0.4.3";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libsodium-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/jedisct1/libsodium/tarball/${version}";
|
||||||
|
name = "${name}.tar.gz";
|
||||||
|
sha256 = "0vammhvkz6masnwyacqkzkah05bgv3syb97jvg2y49vb67pwmspn";
|
||||||
|
};
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
ACLOCAL_PATH=$ACLOCAL_PATH:`pwd`/m4
|
||||||
|
./autogen.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ autoconf libtool automake ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Version of NaCl with harwdare tests at runtime, not build time";
|
||||||
|
license = "ISC";
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
||||||
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -4953,6 +4953,8 @@ let
|
|||||||
else stdenv;
|
else stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
libsodium = callPackage ../development/libraries/libsodium { };
|
||||||
|
|
||||||
libsoup = callPackage ../development/libraries/libsoup { };
|
libsoup = callPackage ../development/libraries/libsoup { };
|
||||||
|
|
||||||
libssh = callPackage ../development/libraries/libssh { };
|
libssh = callPackage ../development/libraries/libssh { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user