vowpal-wabbit: 9.6.0 -> 9.10.0

emaryn 91fd2015 3e07499f

+15 -25
+15 -25
pkgs/by-name/vo/vowpal-wabbit/package.nix
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 - fetchpatch, 6 cmake, 7 boost, 8 eigen, ··· 13 14 stdenv.mkDerivation rec { 15 pname = "vowpal-wabbit"; 16 - version = "9.6.0"; 17 18 src = fetchFromGitHub { 19 owner = "VowpalWabbit"; 20 repo = "vowpal_wabbit"; 21 - rev = version; 22 - sha256 = "sha256-iSsxpeTRZjIhZaYBeoKLHl9j1aBIXWjONmAInmKvU/I="; 23 }; 24 25 - patches = [ 26 - # Fix x86_64-linux build by adding missing include 27 - # https://github.com/VowpalWabbit/vowpal_wabbit/pull/4275 28 - (fetchpatch { 29 - url = "https://github.com/VowpalWabbit/vowpal_wabbit/commit/0cb410dfc885ca1ecafd1f8a962b481574fb3b82.patch"; 30 - sha256 = "sha256-bX3eJ+vMTEMAo3EiESQTDryBP0h2GtnMa/Fz0rTeaNY="; 31 - }) 32 - 33 - # Fix gcc-13 build: 34 - # https://github.com/VowpalWabbit/vowpal_wabbit/pull/4657 35 - (fetchpatch { 36 - name = "gcc-13.patch"; 37 - url = "https://github.com/VowpalWabbit/vowpal_wabbit/commit/a541d85a66088d2b74fa2562d32fecb68af33c58.patch"; 38 - includes = [ "vowpalwabbit/core/include/vw/core/named_labels.h" ]; 39 - hash = "sha256-JAuLDe5JtlE7/043RSIKM20Qr77rmuE0rVg/DGc95MY="; 40 - }) 41 - ]; 42 43 nativeBuildInputs = [ cmake ]; 44 ··· 61 "-DVW_EIGEN_SYS_DEP=ON" 62 ]; 63 64 - meta = with lib; { 65 description = "Machine learning system focused on online reinforcement learning"; 66 homepage = "https://github.com/VowpalWabbit/vowpal_wabbit/"; 67 - license = licenses.bsd3; 68 longDescription = '' 69 Machine learning system which pushes the frontier of machine learning with techniques such as online, 70 hashing, allreduce, reductions, learning2search, active, and interactive and reinforcement learning 71 ''; 72 - maintainers = with maintainers; [ jackgerrits ]; 73 - platforms = platforms.unix; 74 }; 75 }
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 boost, 7 eigen, ··· 12 13 stdenv.mkDerivation rec { 14 pname = "vowpal-wabbit"; 15 + version = "9.10.0"; 16 17 src = fetchFromGitHub { 18 owner = "VowpalWabbit"; 19 repo = "vowpal_wabbit"; 20 + tag = version; 21 + hash = "sha256-HKxhEB4ph2tOWgvYngYTcv0OCMISj3KqZpP2zsEUPs0="; 22 + fetchSubmodules = true; 23 }; 24 25 + postPatch = '' 26 + substituteInPlace CMakeLists.txt \ 27 + --replace-fail "set(VW_CXX_STANDARD 11)" "set(VW_CXX_STANDARD 14)" 28 + # Avoid duplicate add RapidJSON 29 + substituteInPlace ext_libs/ext_libs.cmake \ 30 + --replace-fail "add_library(RapidJSON INTERFACE)" "" 31 + ''; 32 33 nativeBuildInputs = [ cmake ]; 34 ··· 51 "-DVW_EIGEN_SYS_DEP=ON" 52 ]; 53 54 + meta = { 55 description = "Machine learning system focused on online reinforcement learning"; 56 homepage = "https://github.com/VowpalWabbit/vowpal_wabbit/"; 57 + license = lib.licenses.bsd3; 58 longDescription = '' 59 Machine learning system which pushes the frontier of machine learning with techniques such as online, 60 hashing, allreduce, reductions, learning2search, active, and interactive and reinforcement learning 61 ''; 62 + maintainers = with lib.maintainers; [ jackgerrits ]; 63 + platforms = lib.platforms.unix; 64 }; 65 }