@@ -0,0 +1,20 @@
1+{ stdenv, fetchurl, pkgconfig, zlib, openssl, pcsclite }:
2+
3+stdenv.mkDerivation rec {
4+ name = "globalplatform-${version}";
5+ version = "6.0.0";
6+
7+ src = fetchurl {
8+ url = "mirror://sourceforge/globalplatform/${name}.tar.gz";
9+ sha256 = "191s9005xbc7i90bzjk4rlw15licd6m0rls9fxli8jyymz2021zy";
10+ };
11+
12+ buildInputs = [ zlib pkgconfig openssl pcsclite ];
13+
14+ meta = with stdenv.lib; {
15+ homepage = https://sourceforge.net/p/globalplatform/wiki/Home/;
16+ description = "Library for interacting with smart card devices";
17+ license = licenses.gpl3;
18+ platforms = platforms.all;
19+ };
20+}