unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: david larsson <david.larsson@selfhosted.xyz>
Cc: Guix-patches
	<guix-patches-bounces+david.larsson=selfhosted.xyz@gnu.org>,
	47540@debbugs.gnu.org
Subject: [bug#47540] [PATCH] gnu: Add prips.
Date: Tue, 06 Apr 2021 16:04:27 +0200	[thread overview]
Message-ID: <96ad7a4cc63b104b2cc5eac5997b6ac2854fe101.camel@telenet.be> (raw)
In-Reply-To: <ea92da0164f63dd67d800709a902cb18@selfhosted.xyz>

[-- Attachment #1: Type: text/plain, Size: 998 bytes --]

[...]
> +(define-public prips
> +  (package
> +    (name "prips")
> +    (version "1.1.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://devel.ringlet.net/files/sys/"
> +                           name "/" name "-" version ".tar.xz"))
> +       (sha256
> +        (base32 "1a33vbl4w603mk6mm5r3vhk87fy3dfk5wdpch0yd3ncbkg3fmvqn"))))
> +    (build-system gnu-build-system)

Add ‘(native-inputs `(("perl-test-harness" ,perl-test-harness)))’ such that
the makefile can find the 'prove' binary.

> +    (arguments
> +     `(#:make-flags (list (string-append "CC=" ,(cc-for-target)))

Add ‘#:test-target "test"’ here, as the makefile has a 'test' target
instead of a 'check' target.

> +       #:phases (modify-phases %standard-phases
> +                  (delete 'configure)
> +                  (delete 'check)

and remove the (delete 'check).

The package now builds successfully for me.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  reply	other threads:[~2021-04-06 14:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-01 13:11 [bug#47540] [PATCH] gnu: Add prips david larsson
2021-04-01 19:44 ` Maxime Devos
2021-04-05 13:09   ` david larsson
2021-04-05 17:38     ` david larsson
2021-04-06 14:04       ` Maxime Devos [this message]
2021-04-08 19:28         ` david larsson
2021-04-12 10:47           ` bug#47540: " Ludovic Courtès

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=96ad7a4cc63b104b2cc5eac5997b6ac2854fe101.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=47540@debbugs.gnu.org \
    --cc=david.larsson@selfhosted.xyz \
    --cc=guix-patches-bounces+david.larsson=selfhosted.xyz@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).