nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl, pkgconfig, globalplatform, openssl, pcsclite }:
2
3stdenv.mkDerivation rec {
4 name = "gppcscconnectionplugin-${version}";
5 version = "1.1.0";
6
7 src = fetchurl {
8 url = "mirror://sourceforge/globalplatform/${name}.tar.gz";
9 sha256 = "0d3vcrh9z55rbal0dchmj661pqqrav9c400bx1c46grcl1q022ad";
10 };
11
12 nativeBuildInputs = [ pkgconfig ];
13 buildInputs = [ globalplatform openssl pcsclite ];
14
15 meta = with stdenv.lib; {
16 homepage = https://sourceforge.net/p/globalplatform/wiki/Home/;
17 description = "GlobalPlatform pcsc connection plugin";
18 license = [ licenses.lgpl3 licenses.gpl3 ];
19 platforms = platforms.all;
20 };
21}