nixpkgs/pkgs/development/tools/misc/gpshell/default.nix

28 lines
768 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, globalplatform, pcsclite, gppcscconnectionplugin
, makeWrapper
}:
2016-08-10 23:55:35 +01:00
stdenv.mkDerivation rec {
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";
};
nativeBuildInputs = [ pkg-config makeWrapper ];
buildInputs = [ globalplatform pcsclite ];
postFixup = ''
wrapProgram "$out/bin/gpshell" --prefix LD_LIBRARY_PATH : "${gppcscconnectionplugin}/lib"
'';
2016-08-10 23:55:35 +01:00
meta = with lib; {
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;
};
}