Skip to content

Commit

Permalink
pythonPackages.pyscard: 1.9.4 -> 1.9.6 (#29386)
Browse files Browse the repository at this point in the history
cherry-picked from d58e1f1
  • Loading branch information
rnhmjoj authored and Mic92 committed Sep 14, 2017
1 parent 5ae9420 commit 7af5c67
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions pkgs/development/python-modules/pyscard/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, buildPythonPackage, swig, pcsclite }:
{ stdenv, fetchurl, buildPythonPackage, swig, pcsclite, PCSC }:

buildPythonPackage rec {
name = "pyscard-${version}";
version = "1.9.4";
version = "1.9.6";

src = fetchurl {
url = "mirror://pypi/p/pyscard/${name}.tar.gz";
sha256 = "0gn0p4p8dhk99g8vald0dcnh45jbf82bj72n4djyr8b4hawkck4v";
sha256 = "6e28143c623e2b34200d2fa9178dbc80a39b9c068b693b2e6527cdae784c6c12";
};

patchPhase = ''
Expand All @@ -17,10 +17,10 @@ buildPythonPackage rec {
NIX_CFLAGS_COMPILE = "-isystem ${pcsclite}/include/PCSC/";

propagatedBuildInputs = [ pcsclite ];
buildInputs = [ swig ];
buildInputs = [ swig ] ++ stdenv.lib.optional stdenv.isDarwin PCSC;

meta = {
homepage = "https://pyscard.sourceforge.io/";
homepage = https://pyscard.sourceforge.io/;
description = "Smartcard library for python";
license = stdenv.lib.licenses.lgpl21;
maintainers = with stdenv.lib.maintainers; [ layus ];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/python-packages.nix
Expand Up @@ -330,7 +330,7 @@ in {
pythonPackages = self;
};

pyscard = callPackage ../development/python-modules/pyscard { };
pyscard = callPackage ../development/python-modules/pyscard { inherit (pkgs.darwin.apple_sdk.frameworks) PCSC; };

pyside = callPackage ../development/python-modules/pyside { };

Expand Down

0 comments on commit 7af5c67

Please sign in to comment.