Skip to content

Commit

Permalink
pythonPackages.pyscard: Remove patch that is included in 1.9.9 and 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored and Jonathan Ringer committed Nov 25, 2020
1 parent 4196aa9 commit e204319
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions pkgs/development/python-modules/pyscard/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,6 @@ buildPythonPackage rec {
NIX_CFLAGS_COMPILE = optionalString (! withApplePCSC)
"-I ${getDev pcsclite}/include/PCSC";

# The error message differs depending on the macOS host version.
# Since Nix reports a constant host version, but proxies to the
# underlying library, it's not possible to determine the correct
# expected error message. This patch allows both errors to be
# accepted.
# See: https://github.com/LudovicRousseau/pyscard/issues/77
# Building with python from nix on macOS version 10.13 or
# greater still causes this issue to occur.
patches = optionals withApplePCSC [
(fetchpatch {
url = "https://github.com/LudovicRousseau/pyscard/commit/945e9c4cd4036155691f6ce9706a84283206f2ef.patch";
sha256 = "19n8w1wzn85zywr6xf04d8nfg7sgzjyvxp1ccp3rgfr4mcc36plc";
})
];

propagatedBuildInputs = if withApplePCSC then [ PCSC ] else [ pcsclite ];
nativeBuildInputs = [ swig ];

Expand Down

0 comments on commit e204319

Please sign in to comment.