zimlib: 6.3.2 -> 7.2.2
This commit is contained in:
parent
e3243028b5
commit
b9495cc30f
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub
|
{ lib, stdenv, fetchFromGitHub, fetchzip
|
||||||
, meson, ninja, pkg-config
|
, meson, ninja, pkg-config
|
||||||
, python3
|
, python3
|
||||||
, icu
|
, icu
|
||||||
|
@ -11,13 +11,19 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "zimlib";
|
pname = "zimlib";
|
||||||
version = "6.3.2";
|
version = "7.2.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "openzim";
|
owner = "openzim";
|
||||||
repo = "libzim";
|
repo = "libzim";
|
||||||
rev = version;
|
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 = [
|
nativeBuildInputs = [
|
||||||
|
@ -39,6 +45,8 @@ stdenv.mkDerivation rec {
|
||||||
patchShebangs scripts
|
patchShebangs scripts
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
mesonFlags = [ "-Dtest_data_dir=${testData}" ];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
gtest
|
gtest
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue