depot/third_party/nixpkgs/pkgs/development/libraries/libcacard/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

22 lines
635 B
Nix

{ lib, stdenv, fetchurl, pkg-config, glib, nss }:
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";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib nss ];
meta = with lib; {
description = "Smart card emulation library";
homepage = "https://gitlab.freedesktop.org/spice/libcacard";
license = licenses.lgpl21;
maintainers = with maintainers; [ yegortimoshenko ];
platforms = platforms.unix;
};
}