all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jgart <jgart@dismail.de>
To: Guix Help <help-guix@gnu.org>
Subject: what am I doing wrong with girc?
Date: Sat, 3 Sep 2022 08:39:38 -0500	[thread overview]
Message-ID: <20220903083938.GB22667@dismail.de> (raw)

Hi Guixers,

I'm trying to package girc:

https://github.com/McParen/girc/search?p=2&q=anvi

Should I be referencing the asd-system explicitly?

Does this asd system have some inconsistencies in how it was set up?

I have to use build-program to package the binary executable.

all best,

jgart

==========================================================================

;;; GNU Guix --- Functional package management for GNU
;;;
;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; This file is not part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (guixrus packages irc)
  #:use-module (guix build-system python)
  #:use-module (guix build-system asdf)
  #:use-module (guix build-system copy)
  #:use-module (guix gexp)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix utils)
  #:use-module (gnu packages)
  #:use-module (guixrus packages common lisp)
  #:use-module (gnu packages libusb)
  #:use-module (gnu packages xorg)
  #:use-module (gnu packages security-token)
  #:use-module (gnu packages check)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages databases)
  #:use-module (gnu packages python-build)
  #:use-module (gnu packages python-check)
  #:use-module (gnu packages python)
  #:use-module (gnu packages python-crypto)
  #:use-module (gnu packages python-science)
  #:use-module (gnu packages python-web)
  #:use-module (gnu packages sphinx)
  #:use-module (gnu packages time)
  #:use-module (gnu packages lisp-xyz)
  #:use-module (gnu packages python-xyz))


(define-public girc
  (let ((commit "437697f0db8c926b5c294aa1d099c061e6a9d9ba")
        (revision "0"))
    (package
      (name "girc")
      (version (git-version "0.0.1" revision commit))
      (source
        (origin
          (method git-fetch)
          (uri (git-reference
                (url "https://github.com/McParen/girc")
                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
           (base32 "13niqaa2x8mrrncl26wy15lmn3fayjpzicp8b94k65xqmbsya1vk"))))
      (build-system asdf-build-system/sbcl)
      (arguments
        (list
          #:phases
          #~(modify-phases %standard-phases
              (add-after 'create-asdf-configuration 'build-program
                (lambda* (#:key outputs #:allow-other-keys)
                  (build-program
                   (string-append (assoc-ref outputs "out") "/bin/girc")
                   outputs
                   #:entry-program '((girc:girc) 0)
                   #:dependencies '("split-sequence")))))))
      (inputs
        (list sbcl-alexandria
              sbcl-split-sequence
              sbcl-usocket
              sbcl-croatoan))
      (home-page "https://github.com/McParen/girc")
      (synopsis "Basic IRC client for the terminal")
      (description
"@code{girc} is a basic IRC client for the terminal.")
      (license license:expat))))

(define-public cl-girc
  (sbcl-package->cl-source-package girc))

(define-public ecl-girc
  (sbcl-package->ecl-package girc))




             reply	other threads:[~2022-09-03 13:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-03 13:39 jgart [this message]
2022-09-03 14:24 ` what am I doing wrong with girc? Guillaume Le Vaillant

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

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

  git send-email \
    --in-reply-to=20220903083938.GB22667@dismail.de \
    --to=jgart@dismail.de \
    --cc=help-guix@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.