unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: Dexter Morgan <dextermorgan@asia.com>
Cc: guix-devel@gnu.org
Subject: Re: Alternative VPN Clients
Date: Wed, 24 Apr 2019 19:26:15 +0200	[thread overview]
Message-ID: <20190424192615.64f5fca2@scratchpost.org> (raw)
In-Reply-To: <trinity-e5472139-42a8-4596-9c86-d11390d410b4-1556078509660@3c-app-mailcom-lxa05>

[-- Attachment #1: Type: text/plain, Size: 1407 bytes --]

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.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2019-04-24 17:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-24  4:01 Alternative VPN Clients Dexter Morgan
2019-04-24 13:51 ` Joshua Branson
2019-04-24 17:26 ` Danny Milosavljevic [this message]
2019-04-28  9:16   ` Dexter Morgan
2019-04-25 18:37 ` Leo Famulari
2019-04-28  9:17   ` Dexter Morgan
2019-04-28 10:10     ` swedebugia

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=20190424192615.64f5fca2@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=dextermorgan@asia.com \
    --cc=guix-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).