summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Schütz <rschuetz17@gmail.com>2019-03-23 11:57:47 +0100
committerGitHub <noreply@github.com>2019-03-23 11:57:47 +0100
commitebf46a2acba25c5a378374acf45ee917d807ce95 (patch)
treee9e3f02786687bdf8503f4f94474ce991cd2fefa
parent70e084073f103e7b3e5177c8f41e134343d8bcf6 (diff)
downloadnixpkgs-ebf46a2acba25c5a378374acf45ee917d807ce95.tar
nixpkgs-ebf46a2acba25c5a378374acf45ee917d807ce95.tar.gz
nixpkgs-ebf46a2acba25c5a378374acf45ee917d807ce95.tar.bz2
nixpkgs-ebf46a2acba25c5a378374acf45ee917d807ce95.tar.lz
nixpkgs-ebf46a2acba25c5a378374acf45ee917d807ce95.tar.xz
nixpkgs-ebf46a2acba25c5a378374acf45ee917d807ce95.tar.zst
nixpkgs-ebf46a2acba25c5a378374acf45ee917d807ce95.zip
libb2: 0.98 -> 0.98.1 (#58122)
-rw-r--r--pkgs/development/libraries/libb2/default.nix17
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/development/libraries/libb2/default.nix b/pkgs/development/libraries/libb2/default.nix
index f7fffa8b298..6a7720b99bc 100644
--- a/pkgs/development/libraries/libb2/default.nix
+++ b/pkgs/development/libraries/libb2/default.nix
@@ -1,12 +1,14 @@
-{ stdenv, fetchurl, autoconf, automake, libtool }:
+{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config }:
 
 stdenv.mkDerivation rec {
   name = "libb2-${version}";
-  version = "0.98";
+  version = "0.98.1";
 
-  src = fetchurl {
-    url = "https://blake2.net/${name}.tar.gz";
-    sha256 = "1852gh8wwnsghdb9zhxdhw0173plpqzk684npxbl4bzk1hhzisal";
+  src = fetchFromGitHub {
+    owner = "BLAKE2";
+    repo = "libb2";
+    rev = "v${version}";
+    sha256 = "0qj8aaqvfcavj1vj5asm4pqm03ap7q8x4c2fy83cqggvky0frgya";
   };
 
   preConfigure = ''
@@ -16,14 +18,15 @@ stdenv.mkDerivation rec {
 
   configureFlags = stdenv.lib.optional stdenv.hostPlatform.isx86 "--enable-fat=yes";
 
-  nativeBuildInputs = [ autoconf automake libtool ];
+  nativeBuildInputs = [ autoconf automake libtool pkg-config ];
 
   doCheck = true;
 
   meta = with stdenv.lib; {
     description = "The BLAKE2 family of cryptographic hash functions";
+    homepage = https://blake2.net/;
     platforms = platforms.all;
-    maintainers = with maintainers; [ dfoxfranke ];
+    maintainers = with maintainers; [ dfoxfranke dotlambda ];
     license = licenses.cc0;
   };
 }