mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Fixing the libsodium expression to use the release tarball.
This commit is contained in:
parent
2cf008345e
commit
c28d1169ec
1 changed files with 5 additions and 14 deletions
|
@ -1,23 +1,14 @@
|
|||
{ stdenv, fetchurl, autoconf, libtool, automake }:
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
let
|
||||
version = "0.4.3";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libsodium-${version}";
|
||||
name = "libsodium-0.4.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/jedisct1/libsodium/tarball/${version}";
|
||||
name = "${name}.tar.gz";
|
||||
sha256 = "0vammhvkz6masnwyacqkzkah05bgv3syb97jvg2y49vb67pwmspn";
|
||||
url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
|
||||
sha256 = "0hk0zca1kpj6xlc2j2qx9qy7287pi0896frmxq5d7qmcwsdf372r";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
ACLOCAL_PATH=$ACLOCAL_PATH:`pwd`/m4
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
buildInputs = [ autoconf libtool automake ];
|
||||
NIX_LDFLAGS = "-lssp";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue