[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/14: gnu: Add greaseweazle-host-tools.
From: |
guix-commits |
Subject: |
08/14: gnu: Add greaseweazle-host-tools. |
Date: |
Sat, 1 Jul 2023 05:15:14 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 9c0d8c44ba1aecb46e9a13604bf1bb8c1058d625
Author: Rikard Nordgren <hrn@posteo.net>
AuthorDate: Thu May 25 19:17:05 2023 +0000
gnu: Add greaseweazle-host-tools.
* gnu/packages/disk.scm (greaseweazle-host-tools): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/disk.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index b878614dc2..6cdcf7b9d2 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -78,6 +78,9 @@
#: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)
@@ -574,6 +577,42 @@ the default timer setting is not well suited to Linux or
other *nix systems,
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 (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1lpvjlf2xg4ccwik8npiihi0lgw9dx5h12pp4ry343gkz4pwgk9x"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'setuptools-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "1.8")))
+ (add-after 'install 'install-udev-rules
+ (lambda _
+ (install-file "scripts/49-greaseweazle.rules"
+ (string-append #$output "/lib/udev/rules.d/")))))))
+ (native-inputs (list python-setuptools-scm))
+ (propagated-inputs
+ (list python-bitarray python-crcmod python-pyserial python-requests))
+ (synopsis "Tools for accessing a floppy drive at the raw flux level")
+ (description
+ "This package provides 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")
- 05/14: gnu: tpm2-tools: New variable, (continued)
- 05/14: gnu: tpm2-tools: New variable, guix-commits, 2023/07/01
- 04/14: gnu: python-plotly: Update to 5.14.1., guix-commits, 2023/07/01
- 03/14: gnu: python-plotly: Fix version., guix-commits, 2023/07/01
- 14/14: gnu: Add yle-dl., guix-commits, 2023/07/01
- 13/14: gnu: erlang: Fix Erlang package substitutions., guix-commits, 2023/07/01
- 09/14: gnu: Add font-intel-one-mono, guix-commits, 2023/07/01
- 02/14: gnu: whoogle-search: Update to 0.8.2., guix-commits, 2023/07/01
- 06/14: gnu: password-store: Fix program name in usage and tmpdir., guix-commits, 2023/07/01
- 07/14: gnu: Add font-ipa., guix-commits, 2023/07/01
- 11/14: gnu: Add qbittorrent-enhanced., guix-commits, 2023/07/01
- 08/14: gnu: Add greaseweazle-host-tools.,
guix-commits <=
- 10/14: gnu: Add pantheon-wallpapers., guix-commits, 2023/07/01
- 12/14: gnu: Add qbittorrent-enhanced-nox., guix-commits, 2023/07/01