libcacard: 2.7.0 -> 2.8.1

This commit is contained in:
R. Ryantm 2021-12-10 09:21:49 +00:00 committed by Robert Scott
parent 9f329731b5
commit f185cc4bff

View File

@ -2,13 +2,18 @@
stdenv.mkDerivation rec {
pname = "libcacard";
version = "2.7.0";
version = "2.8.1";
src = fetchurl {
url = "https://www.spice-space.org/download/libcacard/${pname}-${version}.tar.xz";
sha256 = "0vyvkk4b6xjwq1ccggql13c1x7g4y90clpkqw28257azgn2a1c8n";
sha256 = "sha256-+79N6Mt9tb3/XstnL/Db5pOfufNEuQDVG6YpUymjMuc=";
};
postPatch = lib.optionalString stdenv.isDarwin ''
sed -i '/--version-script/d' Makefile.in
sed -i 's/^vflag = .*$/vflag = ""/' meson.build
'';
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib nss ];