2016-04-29 04:33:14 +02:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, zlib, expat, rpm, db }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-10-12 20:56:10 +02:00
|
|
|
rev = "0.6.23";
|
2016-04-29 04:33:14 +02:00
|
|
|
name = "libsolv-${rev}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "openSUSE";
|
|
|
|
repo = "libsolv";
|
2016-10-12 20:56:10 +02:00
|
|
|
sha256 = "08ba7yx0br421lk6zf5mp0yl6nznkmc2vbka20qwm2lx5f0a25xg";
|
2016-04-29 04:33:14 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
cmakeFlags = "-DENABLE_RPMMD=true -DENABLE_RPMDB=true -DENABLE_PUBKEY=true -DENABLE_RPMDB_BYRPMHEADER=true";
|
|
|
|
|
|
|
|
buildInputs = [ cmake zlib expat rpm db ];
|
2016-04-30 04:12:54 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A free package dependency solver";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
|
|
};
|
2016-04-29 04:33:14 +02:00
|
|
|
}
|
2016-04-30 04:12:54 +02:00
|
|
|
|