trinity: 2017-02-13 -> 2018-06-08, fix build, clean up

Fix for old breakage was in c93bb184ce
This commit is contained in:
Silvan Mosberger 2018-08-09 21:04:08 +02:00
parent 86e62fcd49
commit e554935f51
No known key found for this signature in database
GPG key ID: 9424360B4B85C9E7

View file

@ -2,17 +2,21 @@
stdenv.mkDerivation rec {
name = "trinity-${version}";
version = "1.8-git-2017-02-13";
version = "1.8-git-2018-06-08";
src = fetchFromGitHub {
owner = "kernelslacker";
repo = "trinity";
rev = "2989c11ce77bc7bec23da62987e2c3a0dd8a83c9";
sha256 = "19asyrypjhx2cgjdmwfvmgc0hk3xg00zvgkl89vwxngdb40bkwfq";
rev = "1b2d43cb383cef86a05acb2df046ce5e9b17a7fe";
sha256 = "0dsq10vmd6ii1dnpaqhizk9p8mbd6mwgpmi13b11dxwxpcvbhlar";
};
# 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 = ''
patchShebangs ./configure
@ -21,11 +25,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
installPhase = "make DESTDIR=$out install";
makeFlags = [ "DESTDIR=$(out)" ];
meta = with stdenv.lib; {
description = "A Linux System call fuzz tester";
homepage = http://codemonkey.org.uk/projects/trinity/;
homepage = https://codemonkey.org.uk/projects/trinity/;
license = licenses.gpl2;
maintainers = [ maintainers.dezgeg ];
platforms = platforms.linux;