about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorGabriel Ebner <gebner@gebner.org>2019-06-01 11:19:16 +0200
committerGabriel Ebner <gebner@gebner.org>2019-06-01 11:19:16 +0200
commitbb9cb2311ce3ca5fdd4fcb93e4a88d7a8209a316 (patch)
treef0317cf059d5b9c046ffb7fc49de0ab96fd00153 /pkgs
parent21565d79a376d28fce99d21a69eadb1c49af4996 (diff)
downloadnixlib-bb9cb2311ce3ca5fdd4fcb93e4a88d7a8209a316.tar
nixlib-bb9cb2311ce3ca5fdd4fcb93e4a88d7a8209a316.tar.gz
nixlib-bb9cb2311ce3ca5fdd4fcb93e4a88d7a8209a316.tar.bz2
nixlib-bb9cb2311ce3ca5fdd4fcb93e4a88d7a8209a316.tar.lz
nixlib-bb9cb2311ce3ca5fdd4fcb93e4a88d7a8209a316.tar.xz
nixlib-bb9cb2311ce3ca5fdd4fcb93e4a88d7a8209a316.tar.zst
nixlib-bb9cb2311ce3ca5fdd4fcb93e4a88d7a8209a316.zip
pythonPackages.libarcus: 4.0.0 -> 4.1.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/libarcus/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/libarcus/default.nix b/pkgs/development/python-modules/libarcus/default.nix
index 671949669492..add1957dd6df 100644
--- a/pkgs/development/python-modules/libarcus/default.nix
+++ b/pkgs/development/python-modules/libarcus/default.nix
@@ -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; {