2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, globalplatform, pcsclite, gppcscconnectionplugin
|
2016-10-02 12:27:21 +01:00
|
|
|
, makeWrapper
|
|
|
|
}:
|
2016-08-10 23:55:35 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gpshell";
|
2016-08-10 23:55:35 +01:00
|
|
|
version = "1.4.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/globalplatform/gpshell-${version}.tar.gz";
|
|
|
|
sha256 = "19a77zvyf2vazbv17185s4pynhylk2ky8vhl4i8pg9zww29sicqi";
|
|
|
|
};
|
|
|
|
|
2021-02-07 09:17:39 +00:00
|
|
|
nativeBuildInputs = [ pkg-config makeWrapper ];
|
|
|
|
buildInputs = [ globalplatform pcsclite ];
|
2016-10-02 12:27:21 +01:00
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
wrapProgram "$out/bin/gpshell" --prefix LD_LIBRARY_PATH : "${gppcscconnectionplugin}/lib"
|
|
|
|
'';
|
2016-08-10 23:55:35 +01:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://sourceforge.net/p/globalplatform/wiki/Home/";
|
2016-08-10 23:55:35 +01:00
|
|
|
description = "Smartcard management application";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|