From: Tanguy Le Carrour <tanguy@bioneland.org>
To: Guix <guix-devel@gnu.org>
Subject: Packaging "single file"
Date: Mon, 4 Nov 2019 16:04:24 +0100 [thread overview]
Message-ID: <20191104150424.7umrtlev4aymzraa@rafflesia> (raw)
Hi Guix!
I intended to ask this question later, but now that ungoogled-chromium
has been superseded by icecat, I find myself stuck!
Is it possible to package a single file? The "file" being a bash script or
a binary. Is there a package definition I can look into for an example?
I would do this for:
- A simple script, for instance `rofi-pass` (https://github.com/carnager/rofi-pass).
It is "just" a bash script but has some dependencies that need to be installed.
I could also clone the git repo and move the file I guess…
- A pre-build binary, for instance for `fd` (https://github.com/sharkdp/fd)
or `geckodriver` (https://firefox-source-docs.mozilla.org/testing/geckodriver).
* I haven't had time (yet) to package `fd` properly, but a binary is
available for download, so it's tempting to use it. But for a reason I
don't understand, it doesn't work on Guix System! :-(
* I use `geckodriver` with Selenium [1] to run user interface tests. I used to
work with the Firefox driver, but it's not packaged in Guix, so I was relying
on chromium/chrome-driver for my tests. But I can no longer count on this!
I haven't tried yet, but compiling this from source seems to require "a bit"
of work. Up to now, I've always downloaded the binary [2].
But, I guess for the same reason as for `fd`, the binary does not work
on Guix System.
[1]: https://docs.seleniumhq.org
[2]: https://github.com/mozilla/geckodriver/releases
It might be a complete misunderstanging on my part, but isn't one of the phases
of the packaging in charge of "fixing" the binaries to work on Guix system?
Hope my question makes sense and someone can point me in the right
direction!
--
Tanguy
next reply other threads:[~2019-11-04 15:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-04 15:04 Tanguy Le Carrour [this message]
2019-11-04 22:37 ` Packaging "single file" Jack Hill
2019-11-05 13:04 ` Tanguy Le Carrour
2019-11-05 15:31 ` Jack Hill
2019-11-06 8:12 ` Make geckodriver part of Icecat package [Was: Packaging "single file"] Tanguy Le Carrour
2019-11-13 8:16 ` Tanguy Le Carrour
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=20191104150424.7umrtlev4aymzraa@rafflesia \
--to=tanguy@bioneland.org \
--cc=guix-devel@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).