unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: help-guix@gnu.org, jgart <jgart@dismail.de>,
	Guix Help <help-guix@gnu.org>
Subject: Re: what might be wrong with my nightly function?
Date: Wed, 16 Nov 2022 07:08:10 +0100	[thread overview]
Message-ID: <A8D19BEE-016A-4271-BE7F-EE69F2ABE489@lepiller.eu> (raw)
In-Reply-To: <20221115193710.GB3246@dismail.de>

Haven't tested and you didn't share what was the issue. The obvious thing I see is #:olive-hash is (base32 "…") by default, so the origin uses (sha256 (base32 (base32 "…"))) by default

Le 16 novembre 2022 02:37:10 GMT+01:00, jgart <jgart@dismail.de> a écrit :
>hi, what might be wrong with this function?
>
>;; let's tracking nightlies!
>(define* (make-olive-nightly
>           #:key (olive-commit "3302c3633c665fd32152217f254b53654945f2dd")
>                 (olive-hash (base32 "0pp6dxn53aw6iiy9wnbkkmg8mcqpx8wy6nify8j4hrzvzrmks82c")))
>    (package (inherit olive)
>      (version (string-take olive-commit 7))
>      (source (origin
>		(method git-fetch)
>		(uri (git-reference
>		      (url "https://github.com/olive-editor/olive")
>		      (commit olive-commit)))
>		(file-name (git-file-name name version))
>		(sha256
>		 (base32 olive-hash))))
>      (build-system cmake-build-system)
>      (arguments
>       `(,@(package-arguments olive)
>         #:tests? #f))))
>
>(define-public olive-3302c36
>  (make-olive-nightly
>    #:olive-commit "3302c3633c665fd32152217f254b53654945f2dd"
>    #:olive-hash "0pp6dxn53aw6iiy9wnbkkmg8mcqpx8wy6nify8j4hrzvzrmks82c"))
>
>;; olive package
>
>
>(define-public olive
>  (let ((revision "2")
>	    (commit "efa74c72a80522fdd85a56e7dee13e341b73de99"))
>    (package
>      (name "olive")
>      (version (git-version "0.2.0" revision commit))
>      (source (origin
>		(method git-fetch)
>		(uri (git-reference
>		      (url "https://github.com/olive-editor/olive")
>		      (commit commit)))
>		(file-name (git-file-name name version))
>		(sha256
>		 (base32
>		  "00zv1h9acf3z76ivy04272r4f6rv0yip4bx1vs5znajffnyaj0jm"))))
>      (build-system cmake-build-system)
>      (arguments
>       `(#:configure-flags '("-DCMAKE_CXX_FLAGS=-Wno-error=shadow")))
>      (inputs
>        (list qtbase-5
>		      qtmultimedia
>		      qttools
>		      qtsvg
>		      ffmpeg
>		      opencolorio-2
>		      openimageio
>              portaudio
>              zlib
>              imath
>		      openexr-3
>              ilmbase))
>      (native-inputs
>        (list pkg-config))
>      (home-page "https://olivevideoeditor.org")
>      (synopsis "Free non-linear video editor")
>      (description
>"@code{olive} is a free and open source non-linear video editor.")
>      (license license:gpl3+))))
>
>
>

  reply	other threads:[~2022-11-16  6:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-16  1:37 what might be wrong with my nightly function? jgart
2022-11-16  6:08 ` Julien Lepiller [this message]
2022-11-16 12:55   ` jgart

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=A8D19BEE-016A-4271-BE7F-EE69F2ABE489@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=help-guix@gnu.org \
    --cc=jgart@dismail.de \
    /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.
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).