Created
January 17, 2018 09:16
-
-
Save dhess/ec32c05364c73a69b91813d0d4e7e71d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { stdenv | |
| , fetchurl | |
| , pkgconfig | |
| , boost | |
| , cmake | |
| , python | |
| , ragel | |
| }: | |
| stdenv.mkDerivation rec { | |
| name = "hyperscan-${version}"; | |
| version = "4.6.0"; | |
| src = fetchurl { | |
| url = "https://github.com/intel/hyperscan/archive/v${version}.tar.gz"; | |
| sha256 = "05d8zpjcm13lldkzcxafkabllzgv10nrhgfazsrag9l2bqpgryqd"; | |
| }; | |
| nativeBuildInputs = [ | |
| boost | |
| cmake | |
| pkgconfig | |
| python | |
| ragel | |
| ]; | |
| enableParallelBuilding = true; | |
| cmakeFlags = [ | |
| "-DBUILD_AVX512=ON" | |
| "-DBUILD_SHARED_LIBS=ON" | |
| ]; | |
| meta = with stdenv.lib; { | |
| homepage = https://01.org/hyperscan; | |
| description = "A high-performance multiple regex matching library"; | |
| license = with licenses; [ bsd3 bsd2 boost ]; | |
| platforms = [ "x86_64-linux" "i686-linux" ]; | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment