Merge pull request #213505 from SebTM/update/pcsc-tools_162

pcsc-tools: 1.6.0 -> 1.6.2
This commit is contained in:
Nick Cao 2023-02-02 08:36:39 +08:00 committed by GitHub
commit 67ed6517ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchurl
, fetchFromGitHub
, autoreconfHook
, makeWrapper
, pkg-config
, systemd
@ -13,11 +14,13 @@
stdenv.mkDerivation rec {
pname = "pcsc-tools";
version = "1.6.0";
version = "1.6.2";
src = fetchurl {
url = "http://ludovic.rousseau.free.fr/softwares/pcsc-tools/${pname}-${version}.tar.bz2";
sha256 = "sha256-ZRyN10vLM9tMFpNc5dgN0apusgup1cS5YxoJgybvi58=";
src = fetchFromGitHub {
owner = "LudovicRousseau";
repo = pname;
rev = version;
sha256 = "sha256-c7md8m1llvz0EQqA0qY4aGb3guGFoj+8uS4hUTzie5o=";
};
postPatch = ''
@ -29,7 +32,7 @@ stdenv.mkDerivation rec {
buildInputs = [ dbus perlPackages.perl pcsclite ]
++ lib.optional stdenv.isLinux systemd;
nativeBuildInputs = [ makeWrapper pkg-config ];
nativeBuildInputs = [ autoreconfHook makeWrapper pkg-config ];
postInstall = ''
wrapProgram $out/bin/scriptor \
@ -46,7 +49,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Tools used to test a PC/SC driver, card or reader";
homepage = "http://ludovic.rousseau.free.fr/softwares/pcsc-tools/";
homepage = "https://pcsc-tools.apdu.fr/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux;