mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
librepo: add bindings to python-packages.nix
This commit is contained in:
parent
601c895bc1
commit
0b8417823d
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, python2, pkgconfig, expat, glib, pcre, openssl, curl, check, attr, gpgme }:
|
||||
{ stdenv, fetchFromGitHub, cmake, python, pkgconfig, expat, glib, pcre, openssl, curl, check, attr, gpgme }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.8.1";
|
||||
@ -13,7 +13,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
buildInputs = [ python2 expat glib pcre openssl curl check attr gpgme ];
|
||||
cmakeFlags="-DPYTHON_DESIRED=${stdenv.lib.substring 0 1 python.pythonVersion}";
|
||||
|
||||
buildInputs = [ python expat glib pcre openssl curl check attr gpgme ];
|
||||
|
||||
# librepo/fastestmirror.h includes curl/curl.h, and pkg-config specfile refers to others in here
|
||||
propagatedBuildInputs = [ curl gpgme expat ];
|
||||
|
@ -10404,6 +10404,10 @@ in {
|
||||
cudaSupport = pkgs.config.cudaSupport or false;
|
||||
};
|
||||
|
||||
librepo = toPythonModule (pkgs.librepo.override {
|
||||
inherit python;
|
||||
});
|
||||
|
||||
libnacl = callPackage ../development/python-modules/libnacl {
|
||||
inherit (pkgs) libsodium;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user