Commit 65cb7241 authored by Sigmanificient's avatar Sigmanificient
Browse files

python3Packages.cq-editor: remove

parent a0a71fbb
Loading
Loading
Loading
Loading
+0 −63
Original line number Diff line number Diff line
{ lib
, mkDerivationWith
, python3Packages
, fetchFromGitHub
, wrapQtAppsHook
}:

mkDerivationWith python3Packages.buildPythonApplication rec {
  pname = "cq-editor";
  version = "0.1.1";

  src = fetchFromGitHub {
    owner = "CadQuery";
    repo = "CQ-editor";
    rev = version;
    sha256 = "1970izjaa60r5cg9i35rzz9lk5c5d8q1vw1rh2skvfbf63z1hnzv";
  };

  patches = [
    ./spyder4.patch
  ];

  propagatedBuildInputs = with python3Packages; [
    cadquery
    logbook
    pyqt5
    pyparsing
    pyqtgraph
    spyder
    path
    qtconsole
    requests
  ];

  nativeBuildInputs = [ wrapQtAppsHook ];
  preFixup = ''
    makeWrapperArgs+=("''${qtWrapperArgs[@]}")
  '';

  nativeCheckInputs = with python3Packages; [
    pytest
    pytest-xvfb
    pytest-mock
    pytest-cov
    pytest-repeat
    pytest-qt
  ];

  checkPhase = ''
    pytest --no-xvfb
  '';

  # requires X server
  doCheck = false;

  meta = with lib; {
    description = "CadQuery GUI editor based on PyQT";
    homepage = "https://github.com/CadQuery/CQ-editor";
    license = licenses.asl20;
    maintainers = with maintainers; [ costrouc marcus7070 ];
  };

}
+1 −0
Original line number Diff line number Diff line
@@ -231,6 +231,7 @@ mapAliases ({
  clang_10 = throw "clang_10 has been removed from nixpkgs"; # Added 2024-01-26
  clang_11 = throw "clang_11 has been removed from nixpkgs"; # Added 2023-01-24

  cq-editor = throw "cq-editor has been removed, as it use a dependency that was disabled since python 3.8 and was last updated in 2021"; # Added 2024-05-13
  ### D ###

  dagger = throw "'dagger' has been removed from nixpkgs, as the trademark policy of the upstream project is incompatible"; # Added 2023-10-16
+0 −2
Original line number Diff line number Diff line
@@ -30184,8 +30184,6 @@ with pkgs;
  cplay-ng = callPackage ../applications/audio/cplay-ng { };
  cq-editor = libsForQt5.callPackage ../applications/graphics/cq-editor { };
  cqrlog = callPackage ../applications/radio/cqrlog {
    hamlib = hamlib_4;
  };