Skip to content

Commit

Permalink
librepo: 1.9.2 -> 1.11.2
Browse files Browse the repository at this point in the history
Expects zchunk by default now, added.

cc NixOS#78040
(this PR builds on that one)
  • Loading branch information
dtzWill committed Jan 19, 2020
1 parent e70c868 commit b46edad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/tools/package-management/librepo/default.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{ stdenv, fetchFromGitHub, cmake, python, pkgconfig, libxml2, glib, openssl, curl, check, gpgme }:
{ stdenv, fetchFromGitHub, cmake, python, pkgconfig, libxml2, glib, openssl, curl, check, gpgme, zchunk }:

stdenv.mkDerivation rec {
version = "1.9.2";
version = "1.11.2";
pname = "librepo";

src = fetchFromGitHub {
owner = "rpm-software-management";
repo = "librepo";
rev = version;
sha256 = "0xa9ng9mhpianhjy2a0jnj8ha1zckk2sz91y910daggm1qcv5asx";
sha256 = "0f04qky61dlh5h71xdmpngpy98cmlsfyp2pkyj5sbkplvrmh1wzw";
};

nativeBuildInputs = [ cmake pkgconfig ];

cmakeFlags = ["-DPYTHON_DESIRED=${stdenv.lib.substring 0 1 python.pythonVersion}" ];

buildInputs = [ python libxml2 glib openssl curl check gpgme ];
buildInputs = [ python libxml2 glib openssl curl check gpgme zchunk ];

# librepo/fastestmirror.h includes curl/curl.h, and pkg-config specfile refers to others in here
propagatedBuildInputs = [ curl gpgme libxml2 ];
Expand Down

0 comments on commit b46edad

Please sign in to comment.