libsvm: 3.33 -> 333 (#473004)

This commit is contained in:
Ben Siraphob
2025-12-25 11:58:42 +00:00
committed by GitHub
+7 -5
View File
@@ -1,7 +1,7 @@
{
lib,
stdenv,
fetchurl,
fetchFromGitHub,
fixDarwinDylibNames,
llvmPackages,
withOpenMP ? true,
@@ -9,11 +9,13 @@
stdenv.mkDerivation rec {
pname = "libsvm";
version = "3.33";
version = "333";
src = fetchurl {
url = "https://www.csie.ntu.edu.tw/~cjlin/libsvm/libsvm-${version}.tar.gz";
sha256 = "sha256-1doSzMPQ7thFP732+sfZ8AUvPopfB6IXTk7wqdg9zfg=";
src = fetchFromGitHub {
owner = "cjlin1";
repo = "libsvm";
tag = "v${version}";
hash = "sha256-eM7O/skOcxkKV4utlC7G9FvMO+d2yZm5D0BoIUhAPXo=";
};
patches = lib.optionals withOpenMP [ ./openmp.patch ];