3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libsolv/default.nix
R. RyanTM 61087f73d7 libsolv: 0.7.7 -> 0.7.9 (#74447)
* libsolv: 0.7.7 -> 0.7.9

* libsolv: add meta.homepage
2019-12-01 15:49:35 +01:00

34 lines
826 B
Nix

{ stdenv, fetchFromGitHub, cmake, ninja, zlib, expat, rpm, db }:
stdenv.mkDerivation rec {
version = "0.7.9";
pname = "libsolv";
src = fetchFromGitHub {
owner = "openSUSE";
repo = "libsolv";
rev = version;
sha256 = "1ijb4nywc3hx142194d85x7db0j5g2n0i750665fal30qrw2x43y";
};
cmakeFlags = [
"-DENABLE_COMPLEX_DEPS=true"
"-DENABLE_RPMMD=true"
"-DENABLE_RPMDB=true"
"-DENABLE_PUBKEY=true"
"-DENABLE_RPMDB_BYRPMHEADER=true"
];
nativeBuildInputs = [ cmake ninja ];
buildInputs = [ zlib expat rpm db ];
meta = with stdenv.lib; {
description = "A free package dependency solver";
homepage = "https://github.com/openSUSE/libsolv";
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ copumpkin ];
};
}