Merge pull request #58830 from r-ryantm/auto-update/python3.7-pyscard
python37Packages.pyscard: 1.9.7 -> 1.9.8
This commit is contained in:
commit
50985b4045
@ -1,12 +1,12 @@
|
|||||||
{ stdenv, fetchPypi, buildPythonPackage, swig, pcsclite, PCSC }:
|
{ stdenv, fetchPypi, fetchpatch, buildPythonPackage, swig, pcsclite, PCSC }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "1.9.7";
|
version = "1.9.8";
|
||||||
pname = "pyscard";
|
pname = "pyscard";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "412c74c83e7401566e9d3d7b8b5ca965e74582a1f33179b3c1fabf1da73ebf80";
|
sha256 = "15fh00z1an6r5j7hrz3jlq0rb3jygwf3x4jcwsa008bv8vpcg7gm";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -16,6 +16,15 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-isystem ${stdenv.lib.getDev pcsclite}/include/PCSC/";
|
NIX_CFLAGS_COMPILE = "-isystem ${stdenv.lib.getDev pcsclite}/include/PCSC/";
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fixes darwin tests
|
||||||
|
# See: https://github.com/LudovicRousseau/pyscard/issues/77
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/LudovicRousseau/pyscard/commit/62e675028086c75656444cc21d563d9f08ebf8e7.patch";
|
||||||
|
sha256 = "1lr55npcpc8j750vf7vaisqyk18d5f00l7nii2lvawg4sssjaaf7";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ pcsclite ];
|
propagatedBuildInputs = [ pcsclite ];
|
||||||
buildInputs = stdenv.lib.optional stdenv.isDarwin PCSC;
|
buildInputs = stdenv.lib.optional stdenv.isDarwin PCSC;
|
||||||
nativeBuildInputs = [ swig ];
|
nativeBuildInputs = [ swig ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user