ola: use python36 (#52097)

python37.pkgs.protobuf does not build with protobuf3_1
wip/yesman
Robert Schütz 6 years ago committed by GitHub
parent feb0aba969
commit d4255008af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      pkgs/applications/misc/ola/default.nix

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig
, libuuid, cppunit, protobuf3_1, zlib, avahi, libmicrohttpd
, perl, python3, python3Packages
, perl, python36 # Replace by python3 after the next update
}:
stdenv.mkDerivation rec {
@ -15,10 +15,10 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig perl ];
buildInputs = [ libuuid cppunit protobuf3_1 zlib avahi libmicrohttpd python3 ];
buildInputs = [ libuuid cppunit protobuf3_1 zlib avahi libmicrohttpd python36 ];
propagatedBuildInputs = [
(python3Packages.protobuf.override { protobuf = protobuf3_1; })
python3Packages.numpy
(python36.pkgs.protobuf.override { protobuf = protobuf3_1; })
python36.pkgs.numpy
];
configureFlags = [ "--enable-python-libs" ];

Loading…
Cancel
Save