2018-10-12 20:58:38 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, nss }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "libcacard";
|
2019-08-04 17:24:07 +02:00
|
|
|
version = "2.7.0";
|
2018-10-12 20:58:38 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://www.spice-space.org/download/libcacard/${pname}-${version}.tar.xz";
|
2019-08-04 17:24:07 +02:00
|
|
|
sha256 = "0vyvkk4b6xjwq1ccggql13c1x7g4y90clpkqw28257azgn2a1c8n";
|
2018-10-12 20:58:38 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib nss ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Smart card emulation library";
|
|
|
|
homepage = https://gitlab.freedesktop.org/spice/libcacard;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ yegortimoshenko ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|