From unknown Sun Jun 15 08:43:35 2025 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-Spam-Score: -1.3 (-) 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --- 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 From unknown Sun Jun 15 08:43:35 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Rikard Nordgren Subject: bug#63729: closed (Re: [bug#63729] [PATCH] gnu: Add greaseweazle-host-tools.) Message-ID: References: <87o7kwj5qd.fsf@nicolasgoaziou.fr> <5943592cd6e0672d17fae2d5ff0f2db124be3631.1685042019.git.hrn@posteo.net> X-Gnu-PR-Message: they-closed 63729 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 63729@debbugs.gnu.org Date: Sat, 01 Jul 2023 10:18:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1688206682-32503-1" This is a multi-part message in MIME format... ------------=_1688206682-32503-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #63729: [PATCH] gnu: Add greaseweazle-host-tools. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 63729@debbugs.gnu.org. --=20 63729: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63729 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1688206682-32503-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 63729-done) by debbugs.gnu.org; 1 Jul 2023 10:17:48 +0000 Received: from localhost ([127.0.0.1]:56667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFXfn-0008Ro-UN for submit@debbugs.gnu.org; Sat, 01 Jul 2023 06:17:48 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:38887) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFXfm-0008Ra-FC for 63729-done@debbugs.gnu.org; Sat, 01 Jul 2023 06:17:47 -0400 X-GND-Sasl: mail@nicolasgoaziou.fr X-GND-Sasl: mail@nicolasgoaziou.fr Received: by mail.gandi.net (Postfix) with ESMTPSA id CBA3FFF805; Sat, 1 Jul 2023 10:17:39 +0000 (UTC) From: Nicolas Goaziou To: Rikard Nordgren Subject: Re: [bug#63729] [PATCH] gnu: Add greaseweazle-host-tools. References: <5943592cd6e0672d17fae2d5ff0f2db124be3631.1685042019.git.hrn@posteo.net> Date: Sat, 01 Jul 2023 12:17:30 +0200 In-Reply-To: <5943592cd6e0672d17fae2d5ff0f2db124be3631.1685042019.git.hrn@posteo.net> (Rikard Nordgren's message of "Thu, 25 May 2023 19:17:05 +0000") Message-ID: <87o7kwj5qd.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 63729-done Cc: 63729-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Rikard Nordgren writes: > --- > gnu/packages/disk.scm | 37 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) Applied with a proper commit message and changes described below. Thank you. > +(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"))) I re-used the version here: (commit (string-append "v" version)) > + (arguments > + `(#:phases (modify-phases %standard-phases I used G-expressions: (arguments (list #:phases #~(modify-phases ...))) > + (add-before 'build 'setuptools-version > + (lambda _ > + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "1.8") #t)) No need for trailing #T at the end of phases; il removed it. > + (add-after 'install 'install-udev-rules > + (lambda* (#:key outputs #:allow-other-keys) I removed the outputs argument... > + (install-file "scripts/49-greaseweazle.rules" > + (string-append (assoc-ref outputs "out") ... and used (string-append #$output ...) > + "/lib/udev/rules.d/"))))))) > + (native-inputs (list python-setuptools-scm)) > + (propagated-inputs (list python-bitarray python-pyserial python-requests > + python-crcmod)) Indentation is surprising here. I changed it. > + (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") Descriptions should consist of full sentences: "This package provides host tools for..." Regards, -- Nicolas Goaziou ------------=_1688206682-32503-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 To: guix-patches@gnu.org Subject: [PATCH] gnu: Add greaseweazle-host-tools. 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 25 May 2023 18:38:57 -0400 Cc: hrn@posteo.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --- 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 ------------=_1688206682-32503-1-- From unknown Sun Jun 15 08:43:35 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#63729] Thanks References: <5943592cd6e0672d17fae2d5ff0f2db124be3631.1685042019.git.hrn@posteo.net> In-Reply-To: <5943592cd6e0672d17fae2d5ff0f2db124be3631.1685042019.git.hrn@posteo.net> Resent-From: Rikard Nordgren Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 Jul 2023 07:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63729@debbugs.gnu.org Received: via spool by 63729-submit@debbugs.gnu.org id=B63729.16883694052865 (code B ref 63729); Mon, 03 Jul 2023 07:31:02 +0000 Received: (at 63729) by debbugs.gnu.org; 3 Jul 2023 07:30:05 +0000 Received: from localhost ([127.0.0.1]:33057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGE0a-0000jv-Do for submit@debbugs.gnu.org; Mon, 03 Jul 2023 03:30:05 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42413) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qG1Uv-0002WB-7O for 63729@debbugs.gnu.org; Sun, 02 Jul 2023 14:08:34 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CAFA3240103 for <63729@debbugs.gnu.org>; Sun, 2 Jul 2023 20:08:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.se; s=2017; t=1688321306; bh=MiTsh1Y5a47Spr6w0Gy+krfknFIcEfktkqtaD4YHYSQ=; h=MIME-Version:Content-Transfer-Encoding:Date:From:To:Subject: Message-ID:From; b=oyibwE89QZmEOVr7WeIoF7IVCKw6g6oSUvD7EmefWD5PNXLkR02bkus1cE2Iij2LJ 79K+npmUO1042jaHwiPYURgnyqmQkwvoYLCBMBr7ykSHHA4qU/NEoAQ+tKtZwmE3bh yhTn2ODHwTx/WQuQvUBQjEYr8Tx8mQ8y9hzptpj7q2hqXfC4wiQitOBF4/MXSj5z9F 7h1IwV6YNVL/Kd4uwjQdyuGiMIwTtw0yTu0VZNvY+tv6NY2rUVXUFx+MQ9s0D4A5YX wxH0niXSpGaH7l0A0uc6f+zucSd1mudKPtqlXk6lCG8Id9/OcmAbe9T8CDPyg0TxDt EGoZcYbOXXHlA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QvH9Q34f0z9rxM for <63729@debbugs.gnu.org>; Sun, 2 Jul 2023 20:08:26 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 02 Jul 2023 18:08:26 +0000 From: Rikard Nordgren Message-ID: <4c54bc5d492dc477cd593e21745f13fc@posteo.net> X-Spam-Score: -2.3 (--) X-Mailman-Approved-At: Mon, 03 Jul 2023 03:30:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Thanks for reviewing and the fixes!