unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Niklas Arendt <n@nikken.org>
To: 60417@debbugs.gnu.org
Subject: [bug#60417] [PATCH] gnu: oksh: Updated definition
Date: Thu, 29 Dec 2022 17:18:01 +0100	[thread overview]
Message-ID: <167c7aa0-ad50-31cd-5166-4877de9161f8@nikken.org> (raw)

Sending my first patch; linted, styled & built.  Feedback welcome!

* gnu/packages/shells.scm (oksh): Updates package definition.
---
  gnu/packages/shells.scm | 30 +++++++++++++++---------------
  1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 128e557a21..d147125ec6 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -755,25 +755,25 @@ (define-public s-shell
  (define-public oksh
    (package
      (name "oksh")
-    (version "0.5.9")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "https://connochaetos.org/oksh/oksh-"
-                           version ".tar.gz"))
-       (sha256
-        (base32
-         "0ln9yf6pxngsviqszv8klnnvn8vcpplvj1njdn8xr2y8frkbw8r3"))))
+    (version "7.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ibara/oksh")
+                    (commit (string-append "oksh-" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "02bnsyc19rcjgzp6ck9743dh28fsdmmr2yq6gj8rhk7na8b1chnw"))))
      (build-system gnu-build-system)
+    (inputs (list ncurses))
      (arguments
-     `(; The test files are not part of the distributed tarball.
-       #:tests? #f))
-    (home-page "https://connochaetos.org/oksh")
+     `(#:tests? #f))
+    (home-page "https://github.com/ibara/oksh")
      (synopsis "Port of OpenBSD Korn Shell")
      (description
-     "Oksh is a port of the OpenBSD Korn Shell.
-The OpenBSD Korn Shell is a cleaned up and enhanced ksh.")
-    (license license:gpl3+)))
+     "Portable OpenBSD ksh, based on the Public Domain Korn Shell 
(pdksh).")
+    (license license:public-domain)))

  (define-public loksh
    (package
-- 
2.38.1




                 reply	other threads:[~2022-12-30 14:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=167c7aa0-ad50-31cd-5166-4877de9161f8@nikken.org \
    --to=n@nikken.org \
    --cc=60417@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).