From patchwork Fri Dec 7 09:21:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 401 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B86CA1679F; Fri, 7 Dec 2018 09:29:27 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id AB7851679B for ; Fri, 7 Dec 2018 09:29:26 +0000 (GMT) Received: from localhost ([::1]:44999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVCRp-0005H4-PC for patchwork@mira.cbaines.net; Fri, 07 Dec 2018 04:29:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVCMg-0007i0-4G for guix-patches@gnu.org; Fri, 07 Dec 2018 04:24:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVCMd-0008BL-05 for guix-patches@gnu.org; Fri, 07 Dec 2018 04:24:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:60250) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gVCMc-0008BF-Sd for guix-patches@gnu.org; Fri, 07 Dec 2018 04:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gVCMc-00035y-Oj for guix-patches@gnu.org; Fri, 07 Dec 2018 04:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33658] [PATCH] gnu: Add chirp. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 07 Dec 2018 09:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33658 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33658@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154417459011819 (code B ref -1); Fri, 07 Dec 2018 09:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Dec 2018 09:23:10 +0000 Received: from localhost ([127.0.0.1]:36275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gVCLl-00034Y-R1 for submit@debbugs.gnu.org; Fri, 07 Dec 2018 04:23:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gVCLj-00034J-SC for submit@debbugs.gnu.org; Fri, 07 Dec 2018 04:23:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVCLd-0007TO-MV for submit@debbugs.gnu.org; Fri, 07 Dec 2018 04:23:02 -0500 Received: from lists.gnu.org ([2001:4830:134:3::11]:36646) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gVCLd-0007TK-JA for submit@debbugs.gnu.org; Fri, 07 Dec 2018 04:23:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVCLc-0005dd-2e for guix-patches@gnu.org; Fri, 07 Dec 2018 04:23:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVCLY-0007OG-Ud for guix-patches@gnu.org; Fri, 07 Dec 2018 04:23:00 -0500 Received: from vultr.systemreboot.net ([45.77.148.100]:49642) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gVCLY-0007JH-Fv for guix-patches@gnu.org; Fri, 07 Dec 2018 04:22:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=NMBMdVTo3yXGe4jjGoStm9hDJfVh3E8KMNUDPN4FjYY=; b=UzQ+aBErr8f4OhRWPVZ/bB+Zn6 /49jSGyoODs/NviCqFIzE4nNLCiE4WhdI7Jows77ucBoxtgqsFyRc5pZGXiRcVqHmt9QuKR26rxzi 1yRKkVZntZNw5e5L8iF5cgWh/1TMtpZPn8lRKK7XzUIEvKiAA56jBEMZJi+uqC4EfPGQ=; Received: from [14.139.128.15] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gVCLP-0007xR-Ja; Fri, 07 Dec 2018 14:52:48 +0530 From: Arun Isaac Date: Fri, 7 Dec 2018 14:51:49 +0530 Message-Id: <20181207092149.21370-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ham-radio.scm (chirp): New variable. --- gnu/packages/ham-radio.scm | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ham-radio.scm b/gnu/packages/ham-radio.scm index 0f96553c6..b73671c8b 100644 --- a/gnu/packages/ham-radio.scm +++ b/gnu/packages/ham-radio.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2017 Arun Isaac +;;; Copyright © 2017, 2018 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -20,9 +20,13 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (gnu packages gtk) #:use-module (gnu packages libusb) #:use-module (gnu packages pkg-config) - #:use-module (guix build-system cmake)) + #:use-module (gnu packages python) + #:use-module (gnu packages xml) + #:use-module (guix build-system cmake) + #:use-module (guix build-system python)) (define-public rtl-sdr (package @@ -50,3 +54,30 @@ cheap software defined radio, since the chip allows transferring the raw I/Q samples to the host. @code{rtl-sdr} provides drivers for this purpose.") (license license:gpl2+))) + +(define-public chirp + (package + (name "chirp") + (version "20181205") + (source + (origin + (method url-fetch) + (uri (string-append "https://trac.chirp.danplanet.com/chirp_daily/daily-" + version "/chirp-daily-" version ".tar.gz")) + (sha256 + (base32 + "1cp280b95j39xaxs50zn55jigg7pyfpm9n098hmsyxrplqn8z43c")))) + (build-system python-build-system) + (inputs + `(("python2-libxml2" ,python2-libxml2) + ("python2-pygtk" ,python2-pygtk) + ("python2-pyserial" ,python2-pyserial))) + (arguments + `(#:python ,python-2)) + (home-page "https://chirp.danplanet.com") + (synopsis "Cross-radio programming tool") + (description "Chirp is a cross-radio programming tool. It supports a +growing list of radios across several manufacturers and allows transferring of +memory contents between them.") + (license (list license:gpl3+ + license:lgpl3+)))) ; chirp/elib_intl.py