gnu: fuzzylite: Update to 6.0-0.13b3122.

* gnu/packages/games.scm (fuzzylite): Update to 6.0-0.13b3122.
[source]: Delete patches.
[native-inputs]: Replace catch2 with catch2-3.
[license]: Correct to gpl3+.
* gnu/packages/patches/fuzzylite-relative-path-in-tests.patch
* gnu/packages/patches/fuzzylite-soften-float-equality.patch
* gnu/packages/patches/fuzzylite-use-catch2.patch: Delete patches.
* gnu/local.mk (dist_patch_DATA): De-register them.

Change-Id: Ibe4ebf94b1b9011fbbd161cdfac3786bd6eb184d
This commit is contained in:
Maxim Cournoyer 2025-07-24 20:52:40 +09:00
parent 495a8de637
commit c8ff4e93fc
No known key found for this signature in database
GPG key ID: 1260E46482E63562
5 changed files with 24 additions and 260 deletions

View file

@ -72,7 +72,7 @@
;;; Copyright © 2022 Roman Riabenko <roman@riabenko.com>
;;; Copyright © 2022, 2023, 2025 zamfofex <zamfofex@twdb.moe>
;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared@gmail.com>
;;; Copyright © 2022-2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022-2025 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2022 Hendursaga <hendursaga@aol.com>
;;; Copyright © 2022 Parnikkapore <poomklao@yahoo.com>
;;; Copyright © 2022 Cairn <cairn@pm.me>
@ -4258,35 +4258,31 @@ exec ~a/bin/freedink -refdir ~a/share/dink\n"
(native-inputs '())))
(define-public fuzzylite
(package
(name "fuzzylite")
(version "6.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/fuzzylite/fuzzylite")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0yay0qc81x0irlvxqpy7jywjxpkmpjabdhq2hdh28r9z85wp2nwb"))
(patches (search-patches "fuzzylite-use-catch2.patch"
"fuzzylite-soften-float-equality.patch"
"fuzzylite-relative-path-in-tests.patch"))))
(build-system cmake-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-before 'configure 'switch-to-fuzzylite-dir
(lambda _
(chdir "fuzzylite"))))))
(native-inputs (list catch2))
(home-page "https://www.fuzzylite.com/")
(synopsis "Fuzzy logic control binary")
(description
"This package provides fuzzylite, a fuzzy logic control library which
;; Use the latest commit from the master branch, as the latest release fails
;; to build.
(let ((commit "13b3122f5c353c0389ed4e66041d548c44ec9df6")
(revision "0"))
(package
(name "fuzzylite")
(version (git-version "6.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/fuzzylite/fuzzylite")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1ai7x5lfy8c1d11crz33ayy21alry740f78qjjxwzdfr6ph7pkzq"))))
(build-system cmake-build-system)
(native-inputs (list catch2-3))
(home-page "https://www.fuzzylite.com/")
(synopsis "Fuzzy logic control binary")
(description
"This package provides fuzzylite, a fuzzy logic control library which
allows one to easily create fuzzy logic controllers in a few steps utilizing
object-oriented programming.")
(license license:gpl3)))
(license license:gpl3+))))
(define-public xboard
(package