10 stdenv.mkDerivation rec {
15 url = "mirror://sourceforge/weka/${lib.replaceStrings [ "." ] [ "-" ] "${pname}-${version}"}.zip";
16 sha256 = "sha256-8fVN4MXYqXNEmyVtXh1IrauHTBZWgWG8AvsGI5Y9Aj0=";
24 # The -Xmx1000M comes suggested from their download page:
25 # https://www.cs.waikato.ac.nz/ml/weka/downloading.html
27 mkdir -pv $out/share/weka
28 cp -Rv * $out/share/weka
30 makeWrapper ${jre}/bin/java $out/bin/weka \
31 --add-flags "-Xmx1000M -jar $out/share/weka/weka.jar"
35 homepage = "https://www.cs.waikato.ac.nz/ml/weka/";
36 description = "Collection of machine learning algorithms for data mining tasks";
38 sourceProvenance = with sourceTypes; [ binaryBytecode ];
39 license = licenses.gpl2Plus;
40 maintainers = [ maintainers.mimame ];
41 platforms = platforms.unix;