Merge pull request #150024 from r-ryantm/auto-update/libcacard

libcacard: 2.7.0 -> 2.8.1
This commit is contained in:
Robert Scott 2021-12-28 01:07:04 +00:00 committed by GitHub
commit 9b14affd46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ];