From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dexter Morgan" Subject: Re: Alternative VPN Clients Date: Sun, 28 Apr 2019 11:16:45 +0200 Message-ID: References: <20190424192615.64f5fca2@scratchpost.org> Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKfvd-0000Zj-7y for guix-devel@gnu.org; Sun, 28 Apr 2019 05:16:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKfvc-00058Y-Af for guix-devel@gnu.org; Sun, 28 Apr 2019 05:16:57 -0400 Received: from mout.gmx.com ([74.208.4.200]:36731) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hKfvc-000586-47 for guix-devel@gnu.org; Sun, 28 Apr 2019 05:16:56 -0400 In-Reply-To: <20190424192615.64f5fca2@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org
Sorry! I tried to understand. But too much at the moment. Have to focus on other things. :( Gonna take baby steps starting with bash.
 
Sent: Wednesday, April 24, 2019 at 1:26 PM
From: "Danny Milosavljevic" <dannym@scratchpost.org>
To: "Dexter Morgan" <dextermorgan@asia.com>
Cc: guix-devel@gnu.org
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.