mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
opensc stuff: fix some packages by updating
This commit is contained in:
parent
40b7ecf930
commit
350bd42274
@ -1,20 +1,21 @@
|
||||
{stdenv, fetchurl, pcsclite, pkgconfig, libusb, perl}:
|
||||
stdenv.mkDerivation {
|
||||
name = "ccid-1.3.11";
|
||||
{ stdenv, fetchurl, pcsclite, pkgconfig, libusb1, perl }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ccid-1.4.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = https://alioth.debian.org/frs/download.php/3080/ccid-1.3.11.tar.bz2;
|
||||
sha256 = "01l9956wids087d38bprr8jqcl05j48cdp25k9q7vzran215mgzp";
|
||||
url = "https://alioth.debian.org/frs/download.php/3866/${name}.tar.bz2";
|
||||
sha256 = "1dj0cw4js4ab678l94rf9p8a8gppkf1hm66qhmq5ajra6r5nv3m9";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
sed -i 's,/usr/bin/env perl,${perl}/bin/perl,' src/*.pl
|
||||
substituteInPlace src/Makefile.in --replace /bin/echo echo
|
||||
'';
|
||||
preConfigure = ''
|
||||
configureFlags="$configureFlags --enable-usbdropdir=$out/pcsc/drivers"
|
||||
'';
|
||||
|
||||
buildInputs = [ pcsclite pkgconfig libusb ];
|
||||
buildInputs = [ pcsclite pkgconfig libusb1 ];
|
||||
|
||||
meta = {
|
||||
description = "ccid drivers for pcsclite";
|
||||
|
@ -1,21 +1,24 @@
|
||||
{ stdenv, fetchurl, udev, pkgconfig, dbus_libs }:
|
||||
{ stdenv, fetchurl, pkgconfig, udev, dbus_libs, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pcsclite-1.7.4";
|
||||
name = "pcsclite-1.8.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://alioth.debian.org/frs/download.php/3598/${name}.tar.bz2";
|
||||
sha256 = "1lc3amxisv2ya51v0gysygldj25kv7zj81famv69s205mvmagr6q";
|
||||
url = "http://alioth.debian.org/frs/download.php/3862/${name}.tar.bz2";
|
||||
sha256 = "1rw5530vr2jf02ziyf32jbd98n5q8zjcfwp5nkw3x3bkgr53arpy";
|
||||
};
|
||||
|
||||
# The OS should care on preparing the drivers into this location
|
||||
configureFlags = [ "--enable-usbdropdir=/var/lib/pcsc/drivers" ];
|
||||
configureFlags = [
|
||||
"--enable-usbdropdir=/var/lib/pcsc/drivers"
|
||||
"--with-systemdsystemunitdir=$out/lib/systemd/system" # probably
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
configureFlags="$configureFlags --enable-confdir=$out/etc"
|
||||
'';
|
||||
|
||||
buildInputs = [ udev dbus_libs ];
|
||||
buildInputs = [ udev dbus_libs perl ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user