2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, glib, nss }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libcacard";
|
|
|
|
version = "2.7.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.spice-space.org/download/libcacard/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "0vyvkk4b6xjwq1ccggql13c1x7g4y90clpkqw28257azgn2a1c8n";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ glib nss ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Smart card emulation library";
|
|
|
|
homepage = "https://gitlab.freedesktop.org/spice/libcacard";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ yegortimoshenko ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|