2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, zlib, openssl_1_0_2, pcsclite }:
|
2016-08-10 23:53:26 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "globalplatform";
|
2016-08-10 23:53:26 +01:00
|
|
|
version = "6.0.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://sourceforge/globalplatform/${pname}-${version}.tar.gz";
|
2016-08-10 23:53:26 +01:00
|
|
|
sha256 = "191s9005xbc7i90bzjk4rlw15licd6m0rls9fxli8jyymz2021zy";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-03-13 00:09:55 +00:00
|
|
|
buildInputs = [ zlib openssl_1_0_2 pcsclite ];
|
2016-08-10 23:53:26 +01:00
|
|
|
|
2021-01-21 17:00:13 +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:53:26 +01:00
|
|
|
description = "Library for interacting with smart card devices";
|
|
|
|
license = licenses.gpl3;
|
2018-03-17 22:24:17 +00:00
|
|
|
platforms = platforms.linux;
|
2016-08-10 23:53:26 +01:00
|
|
|
};
|
|
|
|
}
|