diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-09-28 09:51:11 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2019-09-28 09:51:11 -0500 |
commit | be620532dbd986021d59f288ed29ae341ff65b0b (patch) | |
tree | f3f7b630a7743ca71140842da37594b48584c9b9 /pkgs/development/python-modules/pyscard | |
parent | 019eaad22d5b34d9628e01565b491aa0d94081a8 (diff) |
python37Packages.pyscard: remove darwin version patch
fixed upstream https://github.com/LudovicRousseau/pyscard/commit/62e675028086c75656444cc21d563d9f08ebf8e7
Diffstat (limited to 'pkgs/development/python-modules/pyscard')
-rw-r--r-- | pkgs/development/python-modules/pyscard/default.nix | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/pyscard/default.nix b/pkgs/development/python-modules/pyscard/default.nix index 1ea5830c62b61..ddd8b0ce29545 100644 --- a/pkgs/development/python-modules/pyscard/default.nix +++ b/pkgs/development/python-modules/pyscard/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchPypi, fetchpatch, buildPythonPackage, swig, pcsclite, PCSC }: +{ stdenv, fetchPypi, buildPythonPackage, swig, pcsclite, PCSC }: let # Package does not support configuring the pcsc library. @@ -30,14 +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 - patches = optionals withApplePCSC [ ./ignore-macos-bug.patch ]; - propagatedBuildInputs = if withApplePCSC then [ PCSC ] else [ pcsclite ]; nativeBuildInputs = [ swig ]; |