mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
Merge pull request #148598 from fabaff/pyglossary
libzim: init at 7.0.0
This commit is contained in:
commit
53dc6242c8
48
pkgs/development/libraries/libzim/default.nix
Normal file
48
pkgs/development/libraries/libzim/default.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, icu
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, xz
|
||||
, zstd
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libzim";
|
||||
version = "7.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openzim";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-OQVGopAInAI7KCEVr3BxaKD6np2QcFCaDjgNWjT202U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
ninja
|
||||
meson
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
icu
|
||||
xz
|
||||
zstd
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
# Tests are located at https://github.com/openzim/zim-testing-suite
|
||||
# "...some tests need up to 16GB of memory..."
|
||||
"-Dtest_data_dir=none"
|
||||
"-Dwith_xapian=false"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Reference implementation of the ZIM specification";
|
||||
homepage = "https://github.com/openzim/libzim";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -7493,6 +7493,9 @@ with pkgs;
|
||||
|
||||
libx86emu = callPackage ../development/libraries/libx86emu { };
|
||||
|
||||
libzim = callPackage ../development/libraries/libzim {};
|
||||
|
||||
|
||||
libzmf = callPackage ../development/libraries/libzmf {};
|
||||
|
||||
libreddit = callPackage ../servers/libreddit {
|
||||
|
Loading…
Reference in New Issue
Block a user