Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 libtool, 6}: 7 8stdenv.mkDerivation rec { 9 version = "1.3.2"; 10 pname = "libmaa"; 11 12 src = fetchurl { 13 url = "mirror://sourceforge/dict/libmaa-${version}.tar.gz"; 14 sha256 = "1idi4c30pi79g5qfl7rr9s17krbjbg93bi8f2qrbsdlh78ga19ar"; 15 }; 16 17 buildInputs = [ libtool ]; 18 # configureFlags = [ "--datadir=/run/current-system/share/dictd" ]; 19 20 env.NIX_CFLAGS_COMPILE = "-Wno-error=format-truncation"; 21 22 meta = with lib; { 23 description = "Provides many low-level data structures which are helpful for writing compilers"; 24 license = licenses.gpl2Plus; 25 maintainers = with maintainers; [ sikmir ]; 26 platforms = platforms.unix; 27 }; 28}