diff options
author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2016-08-11 09:08:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-11 09:08:58 +0200 |
commit | 24fc76e60014ca80d0d2978744dca3c514867566 (patch) | |
tree | 7f01a4d5d2dac6ea160bda21ae366f2845ef76f9 | |
parent | 259180bedee03c68efaabb82d718c039132d328d (diff) | |
parent | 7c03a0d1ae1972606de270c38bf75f28a6abbbee (diff) |
Merge pull request #17653 from mbakke/gpshell
Add GlobalPlatform tools
-rw-r--r-- | pkgs/development/libraries/globalplatform/default.nix | 20 | ||||
-rw-r--r-- | pkgs/development/libraries/globalplatform/gppcscconnectionplugin.nix | 20 | ||||
-rw-r--r-- | pkgs/development/tools/misc/gpshell/default.nix | 20 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 6 |
4 files changed, 66 insertions, 0 deletions
diff --git a/pkgs/development/libraries/globalplatform/default.nix b/pkgs/development/libraries/globalplatform/default.nix new file mode 100644 index 0000000000000..a7dd47aaeb4f1 --- /dev/null +++ b/pkgs/development/libraries/globalplatform/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, pkgconfig, zlib, openssl, pcsclite }: + +stdenv.mkDerivation rec { + name = "globalplatform-${version}"; + version = "6.0.0"; + + src = fetchurl { + url = "mirror://sourceforge/globalplatform/${name}.tar.gz"; + sha256 = "191s9005xbc7i90bzjk4rlw15licd6m0rls9fxli8jyymz2021zy"; + }; + + buildInputs = [ zlib pkgconfig openssl pcsclite ]; + + meta = with stdenv.lib; { + homepage = https://sourceforge.net/p/globalplatform/wiki/Home/; + description = "Library for interacting with smart card devices"; + license = licenses.gpl3; + platforms = platforms.all; + }; +} diff --git a/pkgs/development/libraries/globalplatform/gppcscconnectionplugin.nix b/pkgs/development/libraries/globalplatform/gppcscconnectionplugin.nix new file mode 100644 index 0000000000000..f147305220c77 --- /dev/null +++ b/pkgs/development/libraries/globalplatform/gppcscconnectionplugin.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, pkgconfig, globalplatform, openssl, pcsclite }: + +stdenv.mkDerivation rec { + name = "gppcscconnectionplugin-${version}"; + version = "1.1.0"; + + src = fetchurl { + url = "mirror://sourceforge/globalplatform/${name}.tar.gz"; + sha256 = "0d3vcrh9z55rbal0dchmj661pqqrav9c400bx1c46grcl1q022ad"; + }; + + buildInputs = [ pkgconfig globalplatform openssl pcsclite ]; + + meta = with stdenv.lib; { + homepage = https://sourceforge.net/p/globalplatform/wiki/Home/; + description = "GlobalPlatform pcsc connection plugin"; + license = [ licenses.lgpl3 licenses.gpl3 ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/development/tools/misc/gpshell/default.nix b/pkgs/development/tools/misc/gpshell/default.nix new file mode 100644 index 0000000000000..a4ed3a44f3509 --- /dev/null +++ b/pkgs/development/tools/misc/gpshell/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, pkgconfig, globalplatform, pcsclite }: + +stdenv.mkDerivation rec { + name = "gpshell-${version}"; + version = "1.4.4"; + + src = fetchurl { + url = "mirror://sourceforge/globalplatform/gpshell-${version}.tar.gz"; + sha256 = "19a77zvyf2vazbv17185s4pynhylk2ky8vhl4i8pg9zww29sicqi"; + }; + + buildInputs = [ pkgconfig globalplatform pcsclite ]; + + meta = with stdenv.lib; { + homepage = https://sourceforge.net/p/globalplatform/wiki/Home/; + description = "Smartcard management application"; + license = licenses.gpl3; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index eea96fdc3c425..ad459c2e8ffcb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7386,6 +7386,10 @@ in glm = callPackage ../development/libraries/glm { }; glm_0954 = callPackage ../development/libraries/glm/0954.nix { }; + globalplatform = callPackage ../development/libraries/globalplatform { }; + gppcscconnectionplugin = + callPackage ../development/libraries/globalplatform/gppcscconnectionplugin.nix { }; + glog = callPackage ../development/libraries/glog { }; gloox = callPackage ../development/libraries/gloox { }; @@ -7506,6 +7510,8 @@ in gpgstats = callPackage ../tools/security/gpgstats { }; + gpshell = callPackage ../development/tools/misc/gpshell { }; + grantlee = callPackage ../development/libraries/grantlee { }; gsasl = callPackage ../development/libraries/gsasl { }; |