1{ stdenv, fetchurl, pkgconfig, zlib, openssl, pcsclite }:
2
3stdenv.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 nativeBuildInputs = [ pkgconfig ];
13 buildInputs = [ zlib openssl pcsclite ];
14
15 meta = with stdenv.lib; {
16 homepage = https://sourceforge.net/p/globalplatform/wiki/Home/;
17 description = "Library for interacting with smart card devices";
18 license = licenses.gpl3;
19 platforms = platforms.all;
20 };
21}