libb2: 0.97 -> 0.98

This commit is contained in:
Robert Schütz 2018-05-11 17:00:48 +02:00 committed by Tuomas Tynkkynen
parent 5550015b20
commit 03318efe09

View File

@ -1,17 +1,26 @@
{stdenv, fetchurl}:
with stdenv; with lib;
mkDerivation rec {
name = "libb2-${meta.version}";
{ stdenv, fetchurl, autoconf, automake, libtool }:
stdenv.mkDerivation rec {
name = "libb2-${version}";
version = "0.98";
src = fetchurl {
url = "https://blake2.net/${name}.tar.gz";
sha256 = "7829c7309347650239c76af7f15d9391af2587b38f0a65c250104a2efef99051";
sha256 = "1852gh8wwnsghdb9zhxdhw0173plpqzk684npxbl4bzk1hhzisal";
};
preConfigure = ''
patchShebangs autogen.sh
./autogen.sh
'';
configureFlags = [ "--enable-fat=yes" ];
meta = {
version = "0.97";
nativeBuildInputs = [ autoconf automake libtool ];
doCheck = true;
meta = with stdenv.lib; {
description = "The BLAKE2 family of cryptographic hash functions";
platforms = platforms.all;
maintainers = with maintainers; [ dfoxfranke ];