unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Packaging "single file"
@ 2019-11-04 15:04 Tanguy Le Carrour
  2019-11-04 22:37 ` Jack Hill
  0 siblings, 1 reply; 6+ messages in thread
From: Tanguy Le Carrour @ 2019-11-04 15:04 UTC (permalink / raw)
  To: Guix

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-13  8:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-04 15:04 Packaging "single file" Tanguy Le Carrour
2019-11-04 22:37 ` 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

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).