lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 63 lines 1.1 kB view raw
1{ lib 2, mkDerivationWith 3, python3Packages 4, fetchFromGitHub 5, wrapQtAppsHook 6}: 7 8mkDerivationWith python3Packages.buildPythonApplication rec { 9 pname = "cq-editor"; 10 version = "0.1.1"; 11 12 src = fetchFromGitHub { 13 owner = "CadQuery"; 14 repo = "CQ-editor"; 15 rev = version; 16 sha256 = "1970izjaa60r5cg9i35rzz9lk5c5d8q1vw1rh2skvfbf63z1hnzv"; 17 }; 18 19 patches = [ 20 ./spyder4.patch 21 ]; 22 23 propagatedBuildInputs = with python3Packages; [ 24 cadquery 25 Logbook 26 pyqt5 27 pyparsing 28 pyqtgraph 29 spyder 30 pathpy 31 qtconsole 32 requests 33 ]; 34 35 nativeBuildInputs = [ wrapQtAppsHook ]; 36 preFixup = '' 37 makeWrapperArgs+=("''${qtWrapperArgs[@]}") 38 ''; 39 40 checkInputs = with python3Packages; [ 41 pytest 42 pytest-xvfb 43 pytest-mock 44 pytest-cov 45 pytest-repeat 46 pytest-qt 47 ]; 48 49 checkPhase = '' 50 pytest --no-xvfb 51 ''; 52 53 # requires X server 54 doCheck = false; 55 56 meta = with lib; { 57 description = "CadQuery GUI editor based on PyQT"; 58 homepage = "https://github.com/CadQuery/CQ-editor"; 59 license = licenses.asl20; 60 maintainers = with maintainers; [ costrouc marcus7070 ]; 61 }; 62 63}