Merge pull request #56696 from jokogr/f/libarcus
pythonPackages.libarcus: use pkgs.protobuf as input
This commit is contained in:
commit
9b3e5a3aab
3 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, fetchpatch, cmake, libarcus, stb }:
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, cmake, libarcus, stb, protobuf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "curaengine-${version}";
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ libarcus stb ];
|
||||
buildInputs = [ libarcus stb protobuf ];
|
||||
|
||||
cmakeFlags = [ "-DCURA_ENGINE_VERSION=${version}" ];
|
||||
|
||||
|
|
|
@ -15,8 +15,9 @@ buildPythonPackage rec {
|
|||
|
||||
disabled = pythonOlder "3.4.0";
|
||||
|
||||
propagatedBuildInputs = [ sip protobuf ];
|
||||
propagatedBuildInputs = [ sip ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ protobuf ];
|
||||
|
||||
postPatch = ''
|
||||
# To workaround buggy SIP detection which overrides PYTHONPATH
|
||||
|
|
|
@ -2996,7 +2996,7 @@ in {
|
|||
|
||||
fs-s3fs = callPackage ../development/python-modules/fs-s3fs { };
|
||||
|
||||
libarcus = callPackage ../development/python-modules/libarcus { };
|
||||
libarcus = callPackage ../development/python-modules/libarcus { inherit (pkgs) protobuf; };
|
||||
|
||||
libcloud = callPackage ../development/python-modules/libcloud { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue