Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 34 lines 924 B view raw
1{ stdenv, buildPythonPackage, fetchFromGitHub 2, cmake, sip, protobuf, pythonOlder }: 3 4buildPythonPackage rec { 5 pname = "libarcus"; 6 version = "3.6.0"; 7 format = "other"; 8 9 src = fetchFromGitHub { 10 owner = "Ultimaker"; 11 repo = "libArcus"; 12 rev = version; 13 sha256 = "1zbp6axai47k3p2q497wiajls1h17wss143zynbwbwrqinsfiw43"; 14 }; 15 16 disabled = pythonOlder "3.4.0"; 17 18 propagatedBuildInputs = [ sip ]; 19 nativeBuildInputs = [ cmake ]; 20 buildInputs = [ protobuf ]; 21 22 postPatch = '' 23 # To workaround buggy SIP detection which overrides PYTHONPATH 24 sed -i '/SET(ENV{PYTHONPATH}/d' cmake/FindSIP.cmake 25 ''; 26 27 meta = with stdenv.lib; { 28 description = "Communication library between internal components for Ultimaker software"; 29 homepage = https://github.com/Ultimaker/libArcus; 30 license = licenses.lgpl3Plus; 31 platforms = platforms.linux; 32 maintainers = with maintainers; [ abbradar ]; 33 }; 34}