summary refs log tree commit diff
path: root/pkgs/development/libraries/libmhash/default.nix
blob: 598f0b7f789856751403790584aba63490206945 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "mhash";
  version = "0.9.9.9";

  src = fetchurl {
    url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
    sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn";
  };

  dontDisableStatic = true;

  patches = [ ./autotools-define-conflict-debian-fix.patch ];

  meta = {
    description = "Hash algorithms library";
    longDescription = ''
      Libmhash is a library that provides a uniform interface to several hash
      algorithms. It supports the basics for message authentication by
      following rfc2104 (HMAC). It also includes some key generation algorithms
      which are based on hash algorithms.
    '';
    homepage = http://mhash.sourceforge.net;
    license = "LGPL";
    platforms = stdenv.lib.platforms.unix;
  };
}