From 06d8a479d697cfc327ba30feb056e06ff56a4ad1 Mon Sep 17 00:00:00 2001 From: qby <5731587-qby@users.noreply.gitlab.com> Date: Sun, 24 Mar 2024 14:14:49 +0000 Subject: [PATCH 1/3] Adding SamSung's Odin 4 --- nongnu/packages/odin4.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 nongnu/packages/odin4.scm diff --git a/nongnu/packages/odin4.scm b/nongnu/packages/odin4.scm new file mode 100644 index 00000000..e9f642da --- /dev/null +++ b/nongnu/packages/odin4.scm @@ -0,0 +1,31 @@ +(define-module (my-channel 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 "")))) ;; 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 \ No newline at end of file From 0a94bd4009bd5d6847eec740d2246d69a3580a86 Mon Sep 17 00:00:00 2001 From: qby <5731587-qby@users.noreply.gitlab.com> Date: Sun, 24 Mar 2024 16:02:03 +0000 Subject: [PATCH 2/3] Adding empty hash --- nongnu/packages/odin4.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nongnu/packages/odin4.scm b/nongnu/packages/odin4.scm index e9f642da..39e897bd 100644 --- a/nongnu/packages/odin4.scm +++ b/nongnu/packages/odin4.scm @@ -13,7 +13,7 @@ (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 "")))) ;; Replace with actual hash + (sha256 (base32 "0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73")))) ;; Replace with actual hash (build-system gnu-build-system) (arguments `(#:tests? #f ;; No tests in the repository From 8419e8b17d3311fbc2a5dce275f8ce1fb53867df Mon Sep 17 00:00:00 2001 From: qby <5731587-qby@users.noreply.gitlab.com> Date: Sun, 24 Mar 2024 16:26:14 +0000 Subject: [PATCH 3/3] nongnuify --- nongnu/packages/odin4.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nongnu/packages/odin4.scm b/nongnu/packages/odin4.scm index 39e897bd..93dec6d8 100644 --- a/nongnu/packages/odin4.scm +++ b/nongnu/packages/odin4.scm @@ -1,4 +1,4 @@ -(define-module (my-channel odin4-downloader-menu) +(define-module (nongnu odin4-downloader-menu) #:use-module (guix packages) #:use-module (guix git-download) #:use-module (guix build-system gnu))