zimlib: 6.3.2 -> 7.2.2

This commit is contained in:
Alyssa Ross 2022-06-10 14:20:37 +00:00
parent e3243028b5
commit b9495cc30f
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub, fetchzip
, meson, ninja, pkg-config
, python3
, icu
@ -11,13 +11,19 @@
stdenv.mkDerivation rec {
pname = "zimlib";
version = "6.3.2";
version = "7.2.2";
src = fetchFromGitHub {
owner = "openzim";
repo = "libzim";
rev = version;
sha256 = "sha256-xlYu74akK9WFy86hcQe7zp11TImwl8llgDIZBRgmbAI=";
sha256 = "sha256-AEhhjinnnMA4NbYL7NVHYeRZX/zfNiidbY/VeFjZuQs=";
};
testData = fetchzip rec {
passthru.version = "0.4";
url = "https://github.com/openzim/zim-testing-suite/releases/download/v${passthru.version}/zim-testing-suite-${passthru.version}.tar.gz";
sha256 = "sha256-2eJqmvs/GrvOD/pq8dTubaiO9ZpW2WqTNQByv354Z0w=";
};
nativeBuildInputs = [
@ -39,6 +45,8 @@ stdenv.mkDerivation rec {
patchShebangs scripts
'';
mesonFlags = [ "-Dtest_data_dir=${testData}" ];
checkInputs = [
gtest
];