2024-03-24 16:26:14 +00:00
|
|
|
(define-module (nongnu odin4-downloader-menu)
|
2024-03-24 14:14:49 +00:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix git-download)
|
|
|
|
#:use-module (guix build-system gnu))
|
|
|
|
|
|
|
|
(define-public odin4-downloader-menu
|
|
|
|
(package
|
|
|
|
(name "odin4-downloader-menu")
|
|
|
|
(version "0.1.0") ;; Adjust this to match the actual version
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/afaneh92/Odin4-downloader-menu")
|
|
|
|
(commit "master"))) ;; Replace with specific commit if needed
|
|
|
|
(file-name (git-file-name name version))
|
2024-03-24 16:02:03 +00:00
|
|
|
(sha256 (base32 "0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73")))) ;; Replace with actual hash
|
2024-03-24 14:14:49 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ;; No tests in the repository
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure) ;; No configure script in the repository
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
(install-file "menu" (string-append out "/bin/menu"))
|
|
|
|
#t))))))
|
|
|
|
(home-page "https://github.com/afaneh92/Odin4-downloader-menu")
|
|
|
|
(synopsis "Odin4 downloader menu")
|
|
|
|
(description "This package provides a menu for Odin4 downloader.")
|
|
|
|
(license license:expat))) ;; Replace with actual license
|