Merge branch 'master' into staging-next

This commit is contained in:
Jan Tojnar
2021-03-18 19:24:39 +01:00
91 changed files with 982 additions and 256 deletions
+8 -7
View File
@@ -1,5 +1,4 @@
{ lib, stdenv, fetchurl, pkg-config, udev, dbus, perl, python3
, IOKit ? null }:
{ lib, stdenv, fetchurl, pkg-config, udev, dbus, perl, python3, IOKit }:
stdenv.mkDerivation rec {
pname = "pcsclite";
@@ -19,9 +18,9 @@ stdenv.mkDerivation rec {
"--enable-usbdropdir=/var/lib/pcsc/drivers"
"--enable-confdir=/etc"
] ++ lib.optional stdenv.isLinux
"--with-systemdsystemunitdir=\${out}/etc/systemd/system"
++ lib.optional (!stdenv.isLinux)
"--disable-libsystemd";
"--with-systemdsystemunitdir=\${out}/etc/systemd/system"
++ lib.optional (!stdenv.isLinux)
"--disable-libsystemd";
postConfigure = ''
sed -i -re '/^#define *PCSCLITE_HP_DROPDIR */ {
@@ -35,8 +34,10 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ pkg-config perl ];
buildInputs = [ python3 ] ++ lib.optionals stdenv.isLinux [ udev dbus ]
++ lib.optionals stdenv.isDarwin [ IOKit ];
buildInputs = [ python3 ]
++ lib.optionals stdenv.isLinux [ udev dbus ]
++ lib.optionals stdenv.isDarwin [ IOKit ];
meta = with lib; {
description = "Middleware to access a smart card using SCard API (PC/SC)";
+2 -2
View File
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "thc-hydra";
version = "9.1";
version = "9.2";
src = fetchFromGitHub {
owner = "vanhauser-thc";
repo = "thc-hydra";
rev = "v${version}";
sha256 = "1533h9z5jdlazwy0z7ll2753i507wq55by7rm9lh6y59889p0hps";
sha256 = "sha256-V9rr5fbJWm0pa+Kp8g95XvLPo/uWcDwyU2goImnIq58=";
};
postPatch = let