nixpkgs/pkgs/development/libraries/ace/default.nix
R. RyanTM 218b60b85d ace: 6.4.7 -> 6.4.8 (#40696)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/ace/versions.

These checks were done:

- built on NixOS
- /nix/store/2bjwljxg8xr8f44h622mqc3xacy9419y-ace-6.4.8/bin/ace_gperf passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 6.4.8 with grep in /nix/store/2bjwljxg8xr8f44h622mqc3xacy9419y-ace-6.4.8
- directory tree listing: https://gist.github.com/246159b0e45b5fe1369de042fd0534cf
- du listing: https://gist.github.com/dc07102e153c9c3a7f97e1fe743aed1b
2018-05-18 17:34:52 +02:00

37 lines
1.1 KiB
Nix

{ stdenv, fetchurl, pkgconfig, libtool, perl }:
stdenv.mkDerivation rec {
name = "ace-${version}";
version = "6.4.8";
src = fetchurl {
url = "http://download.dre.vanderbilt.edu/previous_versions/ACE-${version}.tar.bz2";
sha256 = "190cyfs2najph2yycyj8abzddwa8s4wx8lx38iv237plwfl2308g";
};
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig libtool ];
buildInputs = [ perl ];
patchPhase = ''substituteInPlace ./MPC/prj_install.pl \
--replace /usr/bin/perl "${perl}/bin/perl"'';
preConfigure = ''
export INSTALL_PREFIX=$out
export ACE_ROOT=$(pwd)
export LD_LIBRARY_PATH="$ACE_ROOT/ace:$ACE_ROOT/lib"
echo '#include "ace/config-linux.h"' > ace/config.h
echo 'include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU'\
> include/makeinclude/platform_macros.GNU
'';
meta = with stdenv.lib; {
description = "ADAPTIVE Communication Environment";
homepage = http://www.dre.vanderbilt.edu/~schmidt/ACE.html;
license = licenses.doc;
platforms = platforms.linux;
maintainers = [ maintainers.nico202 ];
};
}