mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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
1 changed files with 10 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue