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