python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / ace / default.nix
blob612aa472b025831795a31f3be3de07530fa5c2e3
1 { lib, stdenv, fetchurl, pkg-config, libtool, perl }:
3 stdenv.mkDerivation rec {
4   pname = "ace";
5   version = "7.0.8";
7   src = fetchurl {
8     url = "https://download.dre.vanderbilt.edu/previous_versions/ACE-${version}.tar.bz2";
9     sha256 = "sha256-bZQKtNIdTzCbwE3T/fF7e/1CETG4S42Hq8S9RDxCZdw=";
10   };
12   enableParallelBuilding = true;
14   nativeBuildInputs = [ pkg-config libtool ];
15   buildInputs = [ perl ];
17   NIX_CFLAGS_COMPILE = [
18     "-Wno-error=format-security"
19   ];
21   postPatch = ''
22     patchShebangs ./MPC/prj_install.pl
23   '';
25   preConfigure = ''
26     export INSTALL_PREFIX=$out
27     export ACE_ROOT=$(pwd)
28     export LD_LIBRARY_PATH="$ACE_ROOT/ace:$ACE_ROOT/lib"
29     echo '#include "ace/config-linux.h"' > ace/config.h
30     echo 'include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU'\
31     > include/makeinclude/platform_macros.GNU
32   '';
34   meta = with lib; {
35     homepage = "https://www.dre.vanderbilt.edu/~schmidt/ACE.html";
36     description = "ADAPTIVE Communication Environment";
37     license = licenses.doc;
38     maintainers = with maintainers; [ nico202 ];
39     platforms = platforms.linux;
40   };