nixpkgs/pkgs/servers/dict/libmaa.nix
2023-09-10 23:27:12 +04:00

24 lines
665 B
Nix

{ 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;
};
}