Unverified Commit 112ade57 authored by Ben Siraphob's avatar Ben Siraphob Committed by GitHub
Browse files

libsvm: 3.33 -> 333 (#473004)

parents f7a75a9b b6c1e422
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
{
  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 ];