Merge branch 'master.upstream' into staging.upstream
This commit is contained in:
@@ -1,23 +1,25 @@
|
||||
{ stdenv, fetchurl, pcsclite, pkgconfig, libusb1, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.4.19";
|
||||
version = "1.4.20";
|
||||
name = "ccid-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.de.debian.org/debian/pool/main/c/ccid/ccid_${version}.orig.tar.bz2";
|
||||
sha256 = "1q9lx5ci8kikwk9mhbjl6m3zk4id209zfna5wgpqjrp5nhmjrjyc";
|
||||
url = "https://alioth.debian.org/frs/download.php/file/4140/ccid-1.4.20.tar.bz2";
|
||||
sha256 = "1g0w4pv6q30d8lhs3kd6nywkhh34nhf9fbcbcvbxdvk3pdjvh320";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
sed -i 's,/usr/bin/env perl,${perl}/bin/perl,' src/*.pl
|
||||
patchShebangs .
|
||||
substituteInPlace src/Makefile.in --replace /bin/echo echo
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
configureFlags="$configureFlags --enable-usbdropdir=$out/pcsc/drivers"
|
||||
configureFlagsArray+=("--enable-usbdropdir=$out/pcsc/drivers")
|
||||
'';
|
||||
|
||||
buildInputs = [ pcsclite pkgconfig libusb1 ];
|
||||
nativeBuildInputs = [ pkgconfig perl ];
|
||||
buildInputs = [ pcsclite libusb1 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "ccid drivers for pcsclite";
|
||||
|
||||
@@ -1,23 +1,22 @@
|
||||
{ stdenv, fetchurl, pkgconfig, udev, dbus_libs, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pcsclite-1.8.13";
|
||||
name = "pcsclite-1.8.14";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://alioth.debian.org/frs/download.php/file/4126/pcsc-lite-1.8.13.tar.bz2";
|
||||
sha256 = "0fxwzckbjsckfp1f01yp3x6y1wlaaivhy12a5hka6qwdh1z085gk";
|
||||
url = "https://alioth.debian.org/frs/download.php/file/4138/pcsc-lite-1.8.14.tar.bz2";
|
||||
sha256 = "0kik09dif6hih09vvprd7zvj31lnrclrbrh5y10mlca2c209f7xr";
|
||||
};
|
||||
|
||||
# The OS should care on preparing the drivers into this location
|
||||
configureFlags = [
|
||||
# The OS should care on preparing the drivers into this location
|
||||
"--enable-usbdropdir=/var/lib/pcsc/drivers"
|
||||
"--with-systemdsystemunitdir=$out/etc/systemd/system"
|
||||
"--enable-confdir=$out/etc"
|
||||
"--with-systemdsystemunitdir=\${out}/etc/systemd/system"
|
||||
"--enable-confdir=/etc"
|
||||
];
|
||||
|
||||
buildInputs = [ udev dbus_libs perl ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig perl ];
|
||||
buildInputs = [ udev dbus_libs ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Middleware to access a smart card using SCard API (PC/SC)";
|
||||
|
||||
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||
description = "Tools for maintaining UEFI signature databases";
|
||||
homepage = http://jk.ozlabs.org/docs/sbkeysync-maintaing-uefi-key-databases;
|
||||
maintainers = [ maintainers.tstrobel ];
|
||||
platforms = platforms.linux;
|
||||
platforms = [ "x86_64-linux" ]; # Broken on i686
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user