Merge branch 'qby-master-patch-odin4' into 'master'

Adding SamSung's Odin 4

See merge request 
This commit is contained in:
qby 2025-02-15 09:18:03 +00:00
commit b10a8a7279

31
nongnu/packages/odin4.scm Normal file
View File

@ -0,0 +1,31 @@
(define-module (nongnu odin4-downloader-menu)
#: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))
(sha256 (base32 "0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73")))) ;; Replace with actual hash
(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