2016-10-02 13:27:21 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, globalplatform, pcsclite, gppcscconnectionplugin
|
|
|
|
, makeWrapper
|
|
|
|
}:
|
2016-08-11 00:55:35 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gpshell-${version}";
|
|
|
|
version = "1.4.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/globalplatform/gpshell-${version}.tar.gz";
|
|
|
|
sha256 = "19a77zvyf2vazbv17185s4pynhylk2ky8vhl4i8pg9zww29sicqi";
|
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ globalplatform pcsclite makeWrapper ];
|
2016-10-02 13:27:21 +02:00
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
wrapProgram "$out/bin/gpshell" --prefix LD_LIBRARY_PATH : "${gppcscconnectionplugin}/lib"
|
|
|
|
'';
|
2016-08-11 00:55:35 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://sourceforge.net/p/globalplatform/wiki/Home/;
|
|
|
|
description = "Smartcard management application";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|