mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
inkcut: init at 2.1.1
This commit is contained in:
parent
481e804309
commit
44d841f758
54
pkgs/applications/misc/inkcut/default.nix
Normal file
54
pkgs/applications/misc/inkcut/default.nix
Normal file
@ -0,0 +1,54 @@
|
||||
{ lib, python3Packages, fetchFromGitHub, wrapQtAppsHook }:
|
||||
|
||||
with python3Packages;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "inkcut";
|
||||
version = "2.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1c0mfdfy9iq4l683f3aa7cm7x2w9px83dyigc7655wvaq3bxi2rp";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ wrapQtAppsHook ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
enamlx
|
||||
twisted
|
||||
lxml
|
||||
qreactor
|
||||
jsonpickle
|
||||
pyserial
|
||||
pycups
|
||||
qtconsole
|
||||
pyqt5
|
||||
];
|
||||
|
||||
# QtApplication.instance() does not work during tests?
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"inkcut"
|
||||
"inkcut.cli"
|
||||
"inkcut.console"
|
||||
"inkcut.core"
|
||||
"inkcut.device"
|
||||
"inkcut.job"
|
||||
"inkcut.joystick"
|
||||
"inkcut.monitor"
|
||||
"inkcut.preview"
|
||||
];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
makeWrapperArgs = [ "\${qtWrapperArgs[@]}" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.codelv.com/projects/inkcut/";
|
||||
description = "Control 2D plotters, cutters, engravers, and CNC machines";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ raboof ];
|
||||
};
|
||||
}
|
@ -20817,6 +20817,8 @@ in
|
||||
# Impressive, formerly known as "KeyJNote".
|
||||
impressive = callPackage ../applications/office/impressive { };
|
||||
|
||||
inkcut = libsForQt5.callPackage ../applications/misc/inkcut { };
|
||||
|
||||
inkscape = callPackage ../applications/graphics/inkscape {
|
||||
lcms = lcms2;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user