Re: Help defining a trivial package.

2019-09-04 Thread Timothy Sample
Hello! I’m glad the Python code was helpful. :) I’ve commented on some of your other points below. "Pierre-Henry F." writes: > Development: > > $ guix environment --manifest=./guix/manifest.scm --pure --container > $ # Develop things. Add dependencies at will in manifest.scm > > > Bui

Re: Help defining a trivial package.

2019-09-04 Thread Pierre-Henry F.
> import os, shutil, stat, subprocess, guix.build.utils > > # Unpack > source = _build_inputs["source"] > tar = _build_inputs["tar"] > lzip = _build_inputs["lzip"] > os.putenv("PATH", ":".join([tar + "/bin", lzip + "/bin"])) > subprocess.run(["tar", "--lzip", "-xvf", source]) > > # Configure > bash

Re: Help defining a trivial package.

2019-09-02 Thread Timothy Sample
Hello, "Pierre-Henry F." writes: > > Hello Tim ! > > I'm using a couple of hours here an there to try to rebuild the package you > gave me (Thank you for that :-) ). > So far, I've built a very stupid but "working" package (see below if you > really want to ;-) ). Looks good so far! > Will an

Re: Help defining a trivial package.

2019-08-29 Thread Timothy Sample
Hi Pierre, "Pierre-Henry F." writes: > So, we have, in ~bash~: > > $ lzip --decompress release_3.tar.lz > $ tar xf release_3.tar > $ cd blog/ # coming from the preceding line. > $ tree > . > ├── bin > │ └── program > └── src > └── hello_world.py > > $ cat src/hello_worl

Re: Help defining a trivial package.

2019-08-25 Thread Timothy Sample
Hi Pierre, "Pierre-Henry F." writes: > Would someone help defining a trivial package? Sure! > Here is an attempt at defining the package (incomplete, does not work) in > blog.scm: > > (define-module (blog) > #:use-module (guix packages) > #:use-module (guix download) > #