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