all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Trying to define a package
@ 2018-04-02 11:50 Arnaud B
  2018-04-02 14:23 ` Pierre Neidhardt
  0 siblings, 1 reply; 10+ messages in thread
From: Arnaud B @ 2018-04-02 11:50 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1: Type: text/plain, Size: 1380 bytes --]

Hello all,

I'm trying to create a package definition, following mainly the manual
pages :
- Packaging Guidelines
<https://www.gnu.org/software/guix/manual/html_node/Packaging-Guidelines.html#Packaging-Guidelines>
- Defining-Packages
<https://www.gnu.org/software/guix/manual/html_node/Defining-Packages.html#Defining-Packages>
- and Debugging-Build-Failures
<https://www.gnu.org/software/guix/manual/html_node/Debugging-Build-Failures.html#Debugging-Build-Failures>

In the attached .scm file, here is what I gathered it might look like as a
first try.
The thing is that I can not debug the build process, even though I use the
--keep-failed option : I'm not getting a temp build directory
(/tmp/guix-build-...) as I expect :
arnaud@brix ~$ guix build -f /home/arnaud/freefilesync.scm --keep-failed
guix build: error: #<unspecified>: not something we can build
arnaud@brix ~$ cd /tmp/
babel-10188XJP/      guix-inst/           mozilla_arnaud0/
emacs-guix-101889w1/ icecat_arnaud/       .overlayfs-workdir/
.esd-1000/           .ICE-unix/           .X11-unix/
arnaud@brix ~$
One thing to add is that the downloaded source file is not tar.gz file
format but zip file, perhaps that's part of the problem ?
This is a GuixSD install with guix pull done yesterday.

Thanks in advance
Arnaud
<https://www.gnu.org/software/guix/manual/html_node/Defining-Packages.html#Defining-Packages>

[-- Attachment #1.2: Type: text/html, Size: 2218 bytes --]

[-- Attachment #2: freefilesync.scm --]
[-- Type: text/x-scheme, Size: 917 bytes --]

(define-module (gnu packages freefilesync)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (guix licenses)
  #:use-module (gnu packages gawk))

(define-public freefilesync
  (package
            (name "FreeFileSync")
            (version "9.9")
            (source (origin
                      (method url-fetch)
                      (uri "https://www.freefilesync.org/download/FreeFileSync_9.9_Source.zip")
		      (sha256
                         (base32
                            "0w59p5wkazrmyh9nq02wcpq4icb8k8w12f1mbm6a9mbbak4d7va3"))))
            (build-system gnu-build-system)
            (synopsis "FreeFileSync, Open Source File Synchroniszation")
            (description "multiplatform, C++, open source but comes with malware according to some")
            (home-page "https://www.freefilesync.org/")
            (license gpl3)))

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

end of thread, other threads:[~2018-04-03 21:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-02 11:50 Trying to define a package Arnaud B
2018-04-02 14:23 ` Pierre Neidhardt
2018-04-02 16:18   ` Oleg Pykhalov
2018-04-02 19:53     ` Arnaud B
2018-04-03 17:14       ` Arnaud B
2018-04-03 17:38         ` Pierre Neidhardt
2018-04-03 19:27         ` Thomas Sigurdsen
2018-04-03 19:41           ` Thomas Sigurdsen
2018-04-03 21:18             ` Arnaud B
2018-04-03 21:54               ` Arnaud B

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.