pythonPackages.libarcus: 4.0.0 -> 4.1.0

This commit is contained in:
Gabriel Ebner 2019-06-01 11:19:16 +02:00
parent 21565d79a3
commit bb9cb2311c

View File

@ -1,16 +1,16 @@
{ stdenv, buildPythonPackage, fetchFromGitHub { stdenv, buildPythonPackage, python, fetchFromGitHub
, cmake, sip, protobuf, pythonOlder }: , cmake, sip, protobuf, pythonOlder }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "libarcus"; pname = "libarcus";
version = "4.0.0"; version = "4.1.0";
format = "other"; format = "other";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Ultimaker"; owner = "Ultimaker";
repo = "libArcus"; repo = "libArcus";
rev = version; rev = version;
sha256 = "14c62bsc2cynhaajpdidcqpq2vqwshrdkqyzwvpsjjbfmlx3b1ay"; sha256 = "1x06daijxbrqj0dlxmi2zn7ap74zf6hih3krmkwhvarm2nr052g4";
}; };
disabled = pythonOlder "3.4.0"; disabled = pythonOlder "3.4.0";
@ -20,8 +20,7 @@ buildPythonPackage rec {
buildInputs = [ protobuf ]; buildInputs = [ protobuf ];
postPatch = '' postPatch = ''
# To workaround buggy SIP detection which overrides PYTHONPATH sed -i 's#''${Python3_SITELIB}#${placeholder "out"}/${python.sitePackages}#' cmake/SIPMacros.cmake
sed -i '/SET(ENV{PYTHONPATH}/d' cmake/FindSIP.cmake
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {