git.iko.soy/typeable/nixpkgs
on master help sign in
libb2: 0.97 -> 0.98
03318efRobert Schütz
pkgs/development/libraries/libb2/default.nix+16−7
@@ -1,17 +1,26 @@
1−{stdenv, fetchurl}:
1+{ stdenv, fetchurl, autoconf, automake, libtool }:
2−with stdenv; with lib;
2+
3−mkDerivation rec {
3+stdenv.mkDerivation rec {
4− name = "libb2-${meta.version}";
4+ name = "libb2-${version}";
5+ version = "0.98";
5
6
6 src = fetchurl {
7 src = fetchurl {
7 url = "https://blake2.net/${name}.tar.gz";
8 url = "https://blake2.net/${name}.tar.gz";
8− sha256 = "7829c7309347650239c76af7f15d9391af2587b38f0a65c250104a2efef99051";
9+ sha256 = "1852gh8wwnsghdb9zhxdhw0173plpqzk684npxbl4bzk1hhzisal";
9 };
10 };
10
11
12+ preConfigure = ''
13+ patchShebangs autogen.sh
14+ ./autogen.sh
15+ '';
16+
11 configureFlags = [ "--enable-fat=yes" ];
17 configureFlags = [ "--enable-fat=yes" ];
12
18
13− meta = {
19+ nativeBuildInputs = [ autoconf automake libtool ];
14− version = "0.97";
20+
21+ doCheck = true;
22+
23+ meta = with stdenv.lib; {
15 description = "The BLAKE2 family of cryptographic hash functions";
24 description = "The BLAKE2 family of cryptographic hash functions";
16 platforms = platforms.all;
25 platforms = platforms.all;
17 maintainers = with maintainers; [ dfoxfranke ];
26 maintainers = with maintainers; [ dfoxfranke ];