From 3c232d6d79ace4f755dfb411f71238f33811c856 Mon Sep 17 00:00:00 2001 From: Sergey Trofimov Date: Thu, 15 Jan 2026 11:12:52 +0100 Subject: [PATCH] gnu: python-pyscard: Build from git. * gnu/packages/security-token.scm (python-pyscard): Build from git. [source]: Use git-fetch. [properties]: Remove release-monitoring-url. Change-Id: I6ddbd2fd2c56bb119c70d4dd4bc667425b879567 --- gnu/packages/security-token.scm | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index d53a764615f..d8435347ded 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -582,15 +582,14 @@ retrieve a YubiKey's serial number, and so forth.") (name "python-pyscard") (version "2.3.1") (source (origin - (method url-fetch) - ;; The maintainer publishes releases on various sites, but - ;; SourceForge is apparently the only one with a signed release. - (uri (string-append - "mirror://sourceforge/pyscard/pyscard/pyscard%20" - version "/pyscard-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/LudovicRousseau/pyscard") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "04vckr77416sn0jncal9x1p2kmgd37w52kz5nr00g58agbsmchx2")))) + "1qxfps4rfj9s3a0a9rnwdbmjslki3v0rma4kzrcbgz6snj1w4vri")))) (build-system pyproject-build-system) (arguments `(#:phases @@ -625,8 +624,6 @@ retrieve a YubiKey's serial number, and so forth.") "The pyscard smart card library is a framework for building smart card aware applications in Python. The smart card module is built on top of the PCSC API Python wrapper module.") - (properties - '((release-monitoring-url . "https://github.com/LudovicRousseau/pyscard"))) (license license:lgpl2.1+))) (define-public yubikey-oath-dmenu