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