trinity: 2017-02-13 -> 2018-06-08, fix build, clean up
Fix for old breakage was in c93bb184ce
This commit is contained in:
parent
86e62fcd49
commit
e554935f51
@ -2,17 +2,21 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "trinity-${version}";
|
name = "trinity-${version}";
|
||||||
version = "1.8-git-2017-02-13";
|
version = "1.8-git-2018-06-08";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kernelslacker";
|
owner = "kernelslacker";
|
||||||
repo = "trinity";
|
repo = "trinity";
|
||||||
rev = "2989c11ce77bc7bec23da62987e2c3a0dd8a83c9";
|
rev = "1b2d43cb383cef86a05acb2df046ce5e9b17a7fe";
|
||||||
sha256 = "19asyrypjhx2cgjdmwfvmgc0hk3xg00zvgkl89vwxngdb40bkwfq";
|
sha256 = "0dsq10vmd6ii1dnpaqhizk9p8mbd6mwgpmi13b11dxwxpcvbhlar";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Fails on 32-bit otherwise
|
# Fails on 32-bit otherwise
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error";
|
NIX_CFLAGS_COMPILE = [
|
||||||
|
"-Wno-error=int-to-pointer-cast"
|
||||||
|
"-Wno-error=pointer-to-int-cast"
|
||||||
|
"-Wno-error=incompatible-pointer-types"
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs ./configure
|
patchShebangs ./configure
|
||||||
@ -21,11 +25,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
installPhase = "make DESTDIR=$out install";
|
makeFlags = [ "DESTDIR=$(out)" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A Linux System call fuzz tester";
|
description = "A Linux System call fuzz tester";
|
||||||
homepage = http://codemonkey.org.uk/projects/trinity/;
|
homepage = https://codemonkey.org.uk/projects/trinity/;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = [ maintainers.dezgeg ];
|
maintainers = [ maintainers.dezgeg ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user