Re: Broken emacs-treemacs package in current Guix

2020-11-08 Thread Nicolas Goaziou
Hello,

Gary Johnson  writes:

> If I try to build the emacs-treemacs package that comes with Guix
> (declared in emacs-xyz.scm), this crashes out due to a failing test
> during its "make test" phase.

This should be now be fixed. Thank you.

Regards,
-- 
Nicolas Goaziou



Re: Error in package building : error[E0463]: can't find crate for `openssl_src`

2020-11-08 Thread Hamzeh Nasajpour
Hi guys,

Anybody has any solution?  For now I face with this error in package 
installation:
```
...
   Compiling etebase-python v0.30.0 
(/tmp/guix-build-python-etebase-py-0.30.0.drv-0/etebase-0.30.0)
error: unterminated double quote string
  --> src/lib.rs:63:44
   |
63 | include!(concat!(env!("OUT_DIR"), "/glue.rs"));
   |^

error: aborting due to previous error

error: could not compile `etebase-python`.
```

This error is related to this line: 
https://github.com/etesync/etebase-py/blob/master/src/lib.rs#L62

Quick review: 
1. I want to package `etebase-py`.
2. the build system for etebase-py tries to also build etebase-rs. 
3. It's using the `setuptools-rust` for installing the rust dependencies.
4. So I packaged `etebase-py` with `cargo` build system, then I can patch the 
build system to installing the python files. In this step I faced with the 
above errors.

This is my package definition:
```
(define-public python-etebase-py
  (package
(name "python-etebase-py")
(version "0.30.0")
(source
  (origin
(method url-fetch)
(uri (pypi-uri "etebase" version))
(sha256
  (base32
"1py635aqnxx3jy4x6zffriqi0l9gc2gk06h0ms91k4rs68h0gb0i"))
(modules '((guix build utils)))
(snippet
 '(begin
(substitute* "Cargo.toml"
  (("etebase = " all) "etebase = \"^0.1.0\" #"))
(substitute* "Cargo.toml"
  (("flapigen = " all) "flapigen = \"^0.6.0-pre7\" #"))
(substitute* "Cargo.toml"
  (("0.10.30.*") "0.10.30\" }\n"))
(substitute* "src/lib.rs"
  (("mod fixes*") "#![feature(inner_deref)]\" \nmod fixes {"))
  #t
(build-system cargo-build-system)
(arguments
  `(#:tests? #f
#:cargo-inputs
(("rust-openssl" ,rust-openssl-0.10.30)
 ("rust-cpython" ,rust-cpython-0.3)
 ("rust-log" ,rust-log-0.4)
 ("rust-etebase-rs" ,rust-etebase-rs)
 ("rust-flapigen" ,rust-flapigen-0.6)
 ("rust-env-logger" ,rust-env-logger-0.7))
#:phases
 (modify-phases %standard-phases
   (add-after 'unpack 'disable-rust-installation
(lambda* (#:key inputs #:allow-other-keys)
 (let ((openssl (assoc-ref inputs "openssl"))
   (source  (assoc-ref %build-inputs "source"))
   (libsodium (assoc-ref inputs "libsodium")))
   (setenv "RUST_BACKTRACE" "full")
   (setenv "RUSTC_BOOTSTRAP" "1")
   ;(setenv "OPENSSL_DIR" openssl)
   (setenv "SODIUM_LIB_DIR" (string-append libsodium "/lib")))
 #t))
 )))
(native-inputs
  `(("libsodium" ,libsodium)
("python-msgpack" ,python-msgpack)
("openssl" ,openssl)
("perl" ,perl)
("pkg-config" ,pkg-config)
("python-setuptools-rust" ,python-setuptools-rust)))
(inputs
  `(("python" ,python)))
(home-page "https://github.com/etesync/etebase-py;)
(synopsis "A python client library for EteSync.")
(description
  "This module provides a python API to interact with an EteSync 
server. 
It currently implements AddressBook and Calendar access, and supports two-way 
sync (both push and pull) to the server.")
(license license:gpl3)))
```


Any idea?



Eternal Terminal Server?

2020-11-08 Thread yasu
Hi,
I would like to use EternalTerminal  to connect to my Guix desktop PC
from my laptop while I am train.
It seems there are 2 packages in Guix (se below).  I don't know what
the difference is.
Importantly though, it seems to me these packages are only for clients
and not for servers.
 I need to configure the Eternal Terminal server on my Guix desktop
PC.   
What do I do?

  (define-public eternalterminal  (package(name
"eternalterminal")(version
"6.0.7")(source  (origin(method git-fetch)(uri
(git-reference   (url "
https://github.com/MisterTea/EternalTerminal;)   (commit
(string-append "et-v" version...
(define-public et  (package(name "et")(version
"3.1.0")(source (origin   (method git-fetch)   (uri
(git-reference (url "
https://github.com/MisterTea/EternalTCP;) (commit (string-
append "et-v" version   (file-name (git-file-name name
version))   (sha256(base32
"1m5caxckn2ihwp9s2pbyh5amxlpwr7yc54q8s0kb10fr52w2vfnm"...

Cheers,
Yasu




X-plane 11 and Surviving Mars on Guix

2020-11-08 Thread Barnabás Béres
Hi all,
I’m not a big gamer but I would like to play X-plane 11 and Surviving Mars on 
my computer running Guix. Can you please help my how I can install them?

Best regards,
Barnabas Beres