Merge branch 'master' into staging

This commit is contained in:
obadz
2016-08-24 11:57:44 +01:00
46 changed files with 363 additions and 50 deletions
+4 -2
View File
@@ -1,4 +1,5 @@
{ stdenv, fetchurl, pkgconfig, udev, dbus_libs, perl, python2 }:
{ stdenv, fetchurl, pkgconfig, udev, dbus_libs, perl, python2
, IOKit ? null }:
stdenv.mkDerivation rec {
name = "pcsclite-${version}";
@@ -26,7 +27,8 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ pkgconfig perl python2 ];
buildInputs = stdenv.lib.optionals stdenv.isLinux [ udev dbus_libs ];
buildInputs = stdenv.lib.optionals stdenv.isLinux [ udev dbus_libs ]
++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
meta = with stdenv.lib; {
description = "Middleware to access a smart card using SCard API (PC/SC)";
+2
View File
@@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1axg8r4g5n5kdqj5013pgck80nni3z172xkg506vz4zx1zcmrm4r";
};
buildFlags = [ "CC=cc" ];
installPhase = ''
mkdir -p $out/bin
mv stricat $out/bin