1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/development/libraries/libsodium/default.nix

31 lines
707 B
Nix
Raw Normal View History

2013-10-11 19:37:47 +01:00
{ 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;
};
}