Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 27 lines 768 B view raw
1{ stdenv, fetchurl, pkgconfig, globalplatform, pcsclite, gppcscconnectionplugin 2, makeWrapper 3}: 4 5stdenv.mkDerivation rec { 6 pname = "gpshell"; 7 version = "1.4.4"; 8 9 src = fetchurl { 10 url = "mirror://sourceforge/globalplatform/gpshell-${version}.tar.gz"; 11 sha256 = "19a77zvyf2vazbv17185s4pynhylk2ky8vhl4i8pg9zww29sicqi"; 12 }; 13 14 nativeBuildInputs = [ pkgconfig ]; 15 buildInputs = [ globalplatform pcsclite makeWrapper ]; 16 17 postFixup = '' 18 wrapProgram "$out/bin/gpshell" --prefix LD_LIBRARY_PATH : "${gppcscconnectionplugin}/lib" 19 ''; 20 21 meta = with stdenv.lib; { 22 homepage = "https://sourceforge.net/p/globalplatform/wiki/Home/"; 23 description = "Smartcard management application"; 24 license = licenses.gpl3; 25 platforms = platforms.all; 26 }; 27}