Sent: Wednesday, April 24, 2019 at 1:26 PM
From: "Danny Milosavljevic" <address@hidden>
To: "Dexter Morgan" <address@hidden>
Cc: address@hidden
Subject: Re: Alternative VPN Clients
Hi,
if you want to package bitmask, you can try:
$ guix import pypi leap.bitmask
This will print a package definition.
You can put it into a file "bitmask.scm" inside the directory $GUIX_PACKAGE_PATH (you may have to set that environment variable first) with the following header:
(define-module (bitmask)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix build-system python)
#:use-module (guix gexp)
#:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages cross-base)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz))
(define-public python-leap.bitmask
Then you can try it out with
$ guix build --rounds=2 -K python-leap.bitmask
If there are more packages missing, you can generate them all via:
$ guix import pypi -r leap.bitmask
and also put them in the file, adding "(define-public ..." before each block.
For netsplice, it's very similar--but for some reason their package is not
available on PyPI, so you'd have to write the package definition yourself
(just copy the python-leap.bitmask one and modify it - especially the name,
URL and expected checksum - until it works).
If there are any problems please ask on this list.