mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
29 lines
676 B
Nix
29 lines
676 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 = {
|
|
description = "Provides many low-level data structures which are helpful for writing compilers";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ sikmir ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|