about summary refs log tree commit diff
path: root/pkgs/servers/dict/libmaa.nix
blob: 9b31732ed124acae0ede75f59fce9ed03dc1656d (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
{ lib, stdenv, fetchurl, libtool }:

stdenv.mkDerivation rec {
  version = "1.3.2";
  pname = "libmaa";

  src = fetchurl {
    url = "mirror://sourceforge/dict/libmaa-${version}.tar.gz";
    sha256 = "1idi4c30pi79g5qfl7rr9s17krbjbg93bi8f2qrbsdlh78ga19ar";
  };

  buildInputs = [ libtool ];
  # configureFlags = [ "--datadir=/run/current-system/share/dictd" ];

  env.NIX_CFLAGS_COMPILE = "-Wno-error=format-truncation";

  meta = with lib; {
    description = "Provides many low-level data structures which are helpful for writing compilers";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ sikmir ];
    platforms = platforms.unix;
  };
}