Merge pull request #10894 from dezgeg/pr-trinity-update

trinity: 1.5 -> 1.6
This commit is contained in:
Arseniy Seroka 2015-11-09 22:47:01 +03:00
commit f60d710f88
1 changed files with 4 additions and 3 deletions

View File

@ -1,20 +1,21 @@
{ stdenv, fetchFromGitHub }: { stdenv, fetchFromGitHub, linuxHeaders }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "trinity-${version}"; name = "trinity-${version}";
version = "1.5"; version = "1.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kernelslacker"; owner = "kernelslacker";
repo = "trinity"; repo = "trinity";
rev = "v${version}"; rev = "v${version}";
sha256 = "0diwkda6n7yw8plfanivncwangk2kv1acxv0kyk3ly5jhlajwc0s"; sha256 = "1jwgsjjbngn2dsnkflyigy3ajd0szksl30dlaiy02jc6mqi3nr0p";
}; };
patchPhase = '' patchPhase = ''
patchShebangs ./configure.sh patchShebangs ./configure.sh
patchShebangs ./scripts/ patchShebangs ./scripts/
substituteInPlace Makefile --replace '/usr/bin/wc' 'wc' substituteInPlace Makefile --replace '/usr/bin/wc' 'wc'
substituteInPlace configure.sh --replace '/usr/include/linux' '${linuxHeaders}/include/linux'
''; '';
configurePhase = "./configure.sh"; configurePhase = "./configure.sh";