1 { lib, stdenv, fetchFromGitHub, fetchzip
2 , meson, ninja, pkg-config
12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
20 sha256 = "sha256-AEhhjinnnMA4NbYL7NVHYeRZX/zfNiidbY/VeFjZuQs=";
23 testData = fetchzip rec {
24 passthru.version = "0.4";
25 url = "https://github.com/openzim/zim-testing-suite/releases/download/v${passthru.version}/zim-testing-suite-${passthru.version}.tar.gz";
26 sha256 = "sha256-2eJqmvs/GrvOD/pq8dTubaiO9ZpW2WqTNQByv354Z0w=";
36 propagatedBuildInputs = [
48 mesonFlags = [ "-Dtest_data_dir=${testData}" ];
57 description = "Library for reading and writing ZIM files";
58 homepage = "https://www.openzim.org/wiki/Zimlib";
59 license = licenses.gpl2;
60 maintainers = with maintainers; [ ajs124 ];
61 platforms = platforms.linux;