blob: 0c327d0d5e59a45a50f19704347b1bc9b70dceae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
{
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
autoconf,
automake,
libtool,
}:
stdenv.mkDerivation rec {
pname = "quickfix";
version = "1.15.1";
src = fetchFromGitHub {
owner = "quickfix";
repo = "quickfix";
rev = "v${version}";
sha256 = "1fgpwgvyw992mbiawgza34427aakn5zrik3sjld0i924a9d17qwg";
};
patches = [
# Improved C++17 compatibility
(fetchpatch {
url = "https://github.com/quickfix/quickfix/commit/a46708090444826c5f46a5dbf2ba4b069b413c58.diff";
sha256 = "1wlk4j0wmck0zm6a70g3nrnq8fz0id7wnyxn81f7w048061ldhyd";
})
./disableUnitTests.patch
];
# autoreconfHook does not work
nativeBuildInputs = [
autoconf
automake
libtool
];
enableParallelBuilding = true;
postPatch = ''
substituteInPlace bootstrap --replace-fail glibtoolize libtoolize
'';
preConfigure = ''
./bootstrap
'';
# More hacking out of the unittests
preBuild = ''
substituteInPlace Makefile --replace 'UnitTest++' ' '
'';
meta = with lib; {
description = "QuickFIX C++ Fix Engine Library";
homepage = "http://www.quickfixengine.org";
license = licenses.free; # similar to BSD 4-clause
maintainers = with maintainers; [ bhipple ];
broken = stdenv.isAarch64;
};
}
|