1 { lib, stdenv, fetchFromGitHub, cmake, ninja, pkg-config
2 , zlib, xz, bzip2, zchunk, zstd
5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
13 sha256 = "sha256-rqWQJz3gZuhcNblyFWiYCC17miNY8F5xguAJwDk3xFE=";
17 "-DENABLE_COMPLEX_DEPS=true"
20 "-DENABLE_PUBKEY=true"
21 "-DENABLE_RPMDB_BYRPMHEADER=true"
22 "-DENABLE_LZMA_COMPRESSION=true"
23 "-DENABLE_BZIP2_COMPRESSION=true"
24 "-DENABLE_ZSTD_COMPRESSION=true"
25 "-DENABLE_ZCHUNK_COMPRESSION=true"
26 "-DWITH_SYSTEM_ZCHUNK=true"
29 nativeBuildInputs = [ cmake ninja pkg-config ];
30 buildInputs = [ zlib xz bzip2 zchunk zstd expat rpm db ];
33 description = "A free package dependency solver";
34 homepage = "https://github.com/openSUSE/libsolv";
35 license = licenses.bsd3;
36 platforms = platforms.linux ++ platforms.darwin;
37 maintainers = with maintainers; [ copumpkin ];