pcsctools: 1.6.0 -> 1.6.2
This commit is contained in:
parent
fb50f92a69
commit
0daf3608fc
|
@ -1,6 +1,7 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchurl
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, systemd
|
, systemd
|
||||||
|
@ -13,11 +14,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pcsc-tools";
|
pname = "pcsc-tools";
|
||||||
version = "1.6.0";
|
version = "1.6.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://ludovic.rousseau.free.fr/softwares/pcsc-tools/${pname}-${version}.tar.bz2";
|
owner = "LudovicRousseau";
|
||||||
sha256 = "sha256-ZRyN10vLM9tMFpNc5dgN0apusgup1cS5YxoJgybvi58=";
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-c7md8m1llvz0EQqA0qY4aGb3guGFoj+8uS4hUTzie5o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -29,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ dbus perlPackages.perl pcsclite ]
|
buildInputs = [ dbus perlPackages.perl pcsclite ]
|
||||||
++ lib.optional stdenv.isLinux systemd;
|
++ lib.optional stdenv.isLinux systemd;
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper pkg-config ];
|
nativeBuildInputs = [ autoreconfHook makeWrapper pkg-config ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/scriptor \
|
wrapProgram $out/bin/scriptor \
|
||||||
|
@ -46,7 +49,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tools used to test a PC/SC driver, card or reader";
|
description = "Tools used to test a PC/SC driver, card or reader";
|
||||||
homepage = "http://ludovic.rousseau.free.fr/softwares/pcsc-tools/";
|
homepage = "https://pcsc-tools.apdu.fr/";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ peterhoeg ];
|
maintainers = with maintainers; [ peterhoeg ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
|
Loading…
Reference in a new issue