about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/dict/libmaa.nix
blob: b0762990f2d50dff9c2e9508d3341d3f2885f92e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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 = "Dict protocol server and client";
    maintainers = [ ];
    platforms = platforms.linux;
  };
}