Merge pull request #272754 from anthonyroussel/perl-ChipcardPCSC

perlPackages.ChipcardPCSC: 1.4.14 -> 1.4.16

authored by Stig and committed by GitHub 13849335 54963478

+30 -24
+3 -3
pkgs/tools/security/pcsctools/default.nix
··· 36 36 37 37 postInstall = '' 38 38 wrapProgram $out/bin/scriptor \ 39 - --set PERL5LIB "${with perlPackages; makePerlPath [ pcscperl ]}" 39 + --set PERL5LIB "${with perlPackages; makePerlPath [ ChipcardPCSC ]}" 40 40 wrapProgram $out/bin/gscriptor \ 41 - --set PERL5LIB "${with perlPackages; makePerlPath [ pcscperl GlibObjectIntrospection Glib Gtk3 Pango Cairo CairoGObject ]}" 41 + --set PERL5LIB "${with perlPackages; makePerlPath [ ChipcardPCSC GlibObjectIntrospection Glib Gtk3 Pango Cairo CairoGObject ]}" 42 42 wrapProgram $out/bin/ATR_analysis \ 43 - --set PERL5LIB "${with perlPackages; makePerlPath [ pcscperl ]}" 43 + --set PERL5LIB "${with perlPackages; makePerlPath [ ChipcardPCSC ]}" 44 44 wrapProgram $out/bin/pcsc_scan \ 45 45 --prefix PATH : "$out/bin:${lib.makeBinPath [ coreutils wget ]}" 46 46
+27 -21
pkgs/top-level/perl-packages.nix
··· 3296 3296 }; 3297 3297 }; 3298 3298 3299 + ChipcardPCSC = buildPerlPackage { 3300 + pname = "Chipcard-PCSC"; 3301 + version = "1.4.16"; 3302 + src = fetchurl { 3303 + url = "mirror://cpan/authors/id/W/WH/WHOM/Chipcard-PCSC-v1.4.16.tar.gz"; 3304 + hash = "sha256-O14p1jRDXxQm7Nzfebo1G04mWPNsPCK+N7HTHjbKj6k="; 3305 + }; 3306 + buildInputs = [ pkgs.pcsclite ]; 3307 + nativeBuildInputs = [ pkgs.pkg-config ]; 3308 + env.NIX_CFLAGS_COMPILE = toString ([ 3309 + "-I${pkgs.pcsclite.dev}/include/PCSC" 3310 + ] ++ lib.optionals stdenv.cc.isClang [ 3311 + "-Wno-error=implicit-int" 3312 + "-Wno-error=int-conversion" 3313 + ]); 3314 + NIX_CFLAGS_LINK = "-L${lib.getLib pkgs.pcsclite}/lib -lpcsclite"; 3315 + # tests fail; look unfinished 3316 + doCheck = false; 3317 + meta = { 3318 + description = "Communicate with a smart card using PC/SC"; 3319 + homepage = "https://pcsc-perl.apdu.fr/"; 3320 + license = with lib.licenses; [ gpl2Plus ]; 3321 + maintainers = with maintainers; [ abbradar anthonyroussel ]; 3322 + }; 3323 + }; 3324 + 3299 3325 CiscoIPPhone = buildPerlPackage { 3300 3326 pname = "Cisco-IPPhone"; 3301 3327 version = "0.05"; ··· 20198 20224 }; 20199 20225 }; 20200 20226 20201 - pcscperl = buildPerlPackage { 20202 - pname = "pcsc-perl"; 20203 - version = "1.4.14"; 20204 - src = fetchurl { 20205 - url = "mirror://cpan/authors/id/W/WH/WHOM/pcsc-perl-1.4.14.tar.bz2"; 20206 - hash = "sha256-JyK35VQ+T687oexrKaff7G2Svh7ewJ0KMZGZLU2Ixp0="; 20207 - }; 20208 - buildInputs = [ pkgs.pcsclite ]; 20209 - nativeBuildInputs = [ pkgs.pkg-config ]; 20210 - NIX_CFLAGS_LINK = "-L${lib.getLib pkgs.pcsclite}/lib -lpcsclite"; 20211 - # tests fail; look unfinished 20212 - doCheck = false; 20213 - meta = { 20214 - description = "Communicate with a smart card using PC/SC"; 20215 - homepage = "http://ludovic.rousseau.free.fr/softwares/pcsc-perl/"; 20216 - license = with lib.licenses; [ gpl2Plus ]; 20217 - maintainers = with maintainers; [ abbradar ]; 20218 - broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/staging-next/perl534Packages.pcscperl.x86_64-darwin 20219 - }; 20220 - }; 20221 - 20222 20227 PDFAPI2 = buildPerlPackage { 20223 20228 pname = "PDF-API2"; 20224 20229 version = "2.045"; ··· 29327 29332 version = self.Version; 29328 29333 29329 29334 Gtk2GladeXML = throw "Gtk2GladeXML has been removed"; # 2022-01-15 29335 + pcscperl = throw "'pcscperl' has been renamed to 'ChipcardPCSC'"; # Added 2023-12-07 29330 29336 }