nixpkgs/pkgs/development/libraries/libcacard/default.nix

23 lines
635 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, glib, nss }:
2018-10-12 19:58:38 +01:00
stdenv.mkDerivation rec {
pname = "libcacard";
version = "2.7.0";
2018-10-12 19:58:38 +01:00
src = fetchurl {
url = "https://www.spice-space.org/download/libcacard/${pname}-${version}.tar.xz";
sha256 = "0vyvkk4b6xjwq1ccggql13c1x7g4y90clpkqw28257azgn2a1c8n";
2018-10-12 19:58:38 +01:00
};
nativeBuildInputs = [ pkg-config ];
2018-10-12 19:58:38 +01:00
buildInputs = [ glib nss ];
meta = with lib; {
2018-10-12 19:58:38 +01:00
description = "Smart card emulation library";
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;
};
}