pythonPackages.libarcus: 4.0.0 -> 4.1.0
This commit is contained in:
parent
21565d79a3
commit
bb9cb2311c
@ -1,16 +1,16 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
{ stdenv, buildPythonPackage, python, fetchFromGitHub
|
||||
, cmake, sip, protobuf, pythonOlder }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "libarcus";
|
||||
version = "4.0.0";
|
||||
version = "4.1.0";
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Ultimaker";
|
||||
repo = "libArcus";
|
||||
rev = version;
|
||||
sha256 = "14c62bsc2cynhaajpdidcqpq2vqwshrdkqyzwvpsjjbfmlx3b1ay";
|
||||
sha256 = "1x06daijxbrqj0dlxmi2zn7ap74zf6hih3krmkwhvarm2nr052g4";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.4.0";
|
||||
@ -20,8 +20,7 @@ buildPythonPackage rec {
|
||||
buildInputs = [ protobuf ];
|
||||
|
||||
postPatch = ''
|
||||
# To workaround buggy SIP detection which overrides PYTHONPATH
|
||||
sed -i '/SET(ENV{PYTHONPATH}/d' cmake/FindSIP.cmake
|
||||
sed -i 's#''${Python3_SITELIB}#${placeholder "out"}/${python.sitePackages}#' cmake/SIPMacros.cmake
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user