From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8F8WA1Lnb2QoBgEASxT56A (envelope-from ) for ; Fri, 26 May 2023 00:55:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cFwnAlLnb2QVawEAG6o9tA (envelope-from ) for ; Fri, 26 May 2023 00:55:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 96783E631 for ; Fri, 26 May 2023 00:55:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2JrN-0001JR-Vv; Thu, 25 May 2023 18:55:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2Jco-00087Q-M8 for guix-patches@gnu.org; Thu, 25 May 2023 18:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q2Jco-0007tu-D8 for guix-patches@gnu.org; Thu, 25 May 2023 18:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q2Jco-0001Y7-7Z for guix-patches@gnu.org; Thu, 25 May 2023 18:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63729] [PATCH] gnu: Add greaseweazle-host-tools. Resent-From: Rikard Nordgren Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 May 2023 22:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63729@debbugs.gnu.org Cc: hrn@posteo.net X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16850543425871 (code B ref -1); Thu, 25 May 2023 22:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 May 2023 22:39:02 +0000 Received: from localhost ([127.0.0.1]:48346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2Jbm-0001WH-Vl for submit@debbugs.gnu.org; Thu, 25 May 2023 18:39:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:57680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2GSr-0004DD-MY for submit@debbugs.gnu.org; Thu, 25 May 2023 15:17:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2GSr-00025v-Fj for guix-patches@gnu.org; Thu, 25 May 2023 15:17:33 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2GSp-0003Es-94 for guix-patches@gnu.org; Thu, 25 May 2023 15:17:33 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 75F94240101 for ; Thu, 25 May 2023 21:17:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685042247; bh=2LIPh4YGMc01RBc90wjmhPB1ukTeLqUOWapEHUXSVYE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=gjfXhrpnaEB0a46l7gKEs8C62lWx/O+tNu2sTat+lAAgtNj7II0B4UwRLQK8laMja cTxu0vBiEjyPMPDmVurJpgwa7MtMRicRGxGWCh+XJqQYK14jLe3gRnXSmWdtH0WjB+ AsuAriNHPaXe9ZhAer29eb6JkiVBfbK6kCrA5UeBArQgF/7LJ7bLZDuYArjqWZDN43 H5TVD1le2B6bKo4vb/Iq//X6oAUJ3L4krQvu+LtiFNk1Tjj0L1muCv6Afau3RU/m/w r9jUMus4o0YCkVu6VRHhJR3mrXZU0FS+ogaLDAMXwj2Y3zrlSO7d8BMswa7wYEW1ca 3jB/eYYaJEDQw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QRyVb011tz6tvs; Thu, 25 May 2023 21:17:26 +0200 (CEST) From: Rikard Nordgren Date: Thu, 25 May 2023 19:17:05 +0000 Message-Id: <5943592cd6e0672d17fae2d5ff0f2db124be3631.1685042019.git.hrn@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=hrn@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 25 May 2023 18:38:57 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 25 May 2023 18:55:03 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685055313; a=rsa-sha256; cv=none; b=qyQKOHaZQwG8gWVzBiKZETVHdD+fcpoenliBtQ2ubvdxZHjB5L+08u4CRg+ygyyse9kM9N 3zRx8lhIMeHojPu69OhaGOmQLID9OAAsgex/VgRM4+jZDl+dr/+bxLWK8etBvDdk4WVg3P 54yQeJgopnKeK9qOObwLzeis0xvkpC9MXYndqpTqVqrYzuTt6c2oMGVVc58cd9vklxoZhX ANDvYBzJCbQhJdWCsfPfFZQTyqVIlu3XBgqkbsgOsmz/ATEwRfAvTr81cGUIkrqbQsyi5h 5a63zzxwth0WusUuQlMR3w15bsfaAhyJxLJReWK35kDkNzgCN4J7SLj1YH8LNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=gjfXhrpn; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685055313; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=NSIMDCMzmeV2edXxFvupCpmLZxR+gPupwR746DQzeMY=; b=rCJCBJxBk6Kxua2PxQ6PihxDqvCJ6AqohZ7Q/HKgs/ENWSCv2XepyrL3JjM4UW3eTQcqxq MsOjWFQvdZXEOtMKuDEk/x5TNwbOLhCM5UZbNkpSzisFeSwtzh4fOSa6q5wegDM+TqUU9D CnanJdC2H+yflhGSJKQXzs4H42CMASqOBYHTgj9dMd6FUPjBemSOIUV6y59bngjAM8Vihb QguCtuzLmWJpJPzohi0LGDBeYzHexOC4Lg2KT+kR3ihrOXOudCSIPuqIqFnZ2OduvtaFE+ mmSzMS/aJMsGqmeh8T4C9EkRGttdHR4tHpGsK/aB77//95rM68MTbS0TvK+mOw== X-Migadu-Spam-Score: -0.51 X-Spam-Score: -0.51 X-Migadu-Queue-Id: 96783E631 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=gjfXhrpn; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: LUfj06r/zBsb --- gnu/packages/disk.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm index 894a542171..93be910aef 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm @@ -76,6 +76,9 @@ (define-module (gnu packages disk) #:use-module (gnu packages pkg-config) #:use-module (gnu packages popt) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) + #:use-module (gnu packages python-crypto) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages readline) @@ -572,6 +575,40 @@ (define-public idle3-tools and can dramatically shorten the lifespan of the drive if left unchecked.") (license license:gpl3+))) +(define-public greaseweazle-host-tools + (package + (name "greaseweazle-host-tools") + (version "1.12") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/keirf/greaseweazle") + (commit "v1.12"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lpvjlf2xg4ccwik8npiihi0lgw9dx5h12pp4ry343gkz4pwgk9x")))) + (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-before 'build 'setuptools-version + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "1.8") #t)) + (add-after 'install 'install-udev-rules + (lambda* (#:key outputs #:allow-other-keys) + (install-file "scripts/49-greaseweazle.rules" + (string-append (assoc-ref outputs "out") + "/lib/udev/rules.d/"))))))) + (native-inputs (list python-setuptools-scm)) + (propagated-inputs (list python-bitarray python-pyserial python-requests + python-crcmod)) + (synopsis "Tools for accessing a floppy drive at the raw flux level") + (description + "The host tools for controlling a Greaseweazle: an Open Source USB device +capable of reading and writing raw data on nearly any type of floppy disk") + (home-page "https://github.com/keirf/greaseweazle") + (license license:public-domain))) + (define-public gparted (package (name "gparted") base-commit: 1be6baed2b58a75868cdcc9f51b78624c2fefc4f -- 2.30.2