cq-editor: init at 0.1RC1
This commit is contained in:
parent
c027ec5488
commit
f033c3470f
2 changed files with 59 additions and 0 deletions
57
pkgs/applications/graphics/cq-editor/default.nix
Normal file
57
pkgs/applications/graphics/cq-editor/default.nix
Normal file
|
@ -0,0 +1,57 @@
|
|||
{ lib
|
||||
, mkDerivationWith
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||
pname = "cq-editor";
|
||||
version = "0.1RC1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CadQuery";
|
||||
repo = "CQ-editor";
|
||||
rev = version;
|
||||
sha256 = "0iwcpnj15s64k16948sakvkn1lb4mqwrhmbxk3r03bczs0z33zax";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
cadquery
|
||||
Logbook
|
||||
pyqt5
|
||||
pyparsing
|
||||
pyqtgraph
|
||||
spyder
|
||||
pathpy
|
||||
qtconsole
|
||||
requests
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapQtApp "$out/bin/cq-editor"
|
||||
'';
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
pytest
|
||||
pytest-xvfb
|
||||
pytest-mock
|
||||
pytestcov
|
||||
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 ];
|
||||
};
|
||||
|
||||
}
|
|
@ -18282,6 +18282,8 @@ in
|
|||
|
||||
coyim = callPackage ../applications/networking/instant-messengers/coyim {};
|
||||
|
||||
cq-editor = libsForQt5.callPackage ../applications/graphics/cq-editor { };
|
||||
|
||||
cpp_ethereum = callPackage ../applications/misc/cpp-ethereum { };
|
||||
|
||||
crun = callPackage ../applications/virtualization/crun {};
|
||||
|
|
Loading…
Reference in a new issue