9 inherit (python3.pkgs) buildPythonApplication buildPythonPackage fetchPypi;
11 meerk40t-camera = buildPythonPackage rec {
12 pname = "meerk40t-camera";
14 format = "setuptools";
17 inherit pname version;
18 hash = "sha256-uGCBHdgWoorVX2XqMCg0YBweb00sQ9ZSbJe8rlGeovs=";
22 sed -i '/meerk40t/d' setup.py
25 propagatedBuildInputs = with python3.pkgs; [
29 pythonImportsCheck = [
36 description = "MeerK40t camera plugin";
37 license = licenses.mit;
38 homepage = "https://github.com/meerk40t/meerk40t-camera";
39 maintainers = with maintainers; [ hexa ];
43 buildPythonApplication rec {
46 format = "setuptools";
48 src = fetchFromGitHub {
51 rev = "refs/tags/${version}";
52 hash = "sha256-7Vc7Z+mxy+xRbUBeivkqVwO86ovZDo42M4G0ZD23vMk=";
59 # prevent double wrapping
62 propagatedBuildInputs = with python3.pkgs; [
75 --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}"
77 makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
80 checkInputs = with python3.pkgs; [
89 changelog = "https://github.com/meerk40t/meerk40t/releases/tag/${version}";
90 description = "MeerK40t LaserCutter Software";
91 homepage = "https://github.com/meerk40t/meerk40t";
92 license = licenses.mit;
93 maintainers = with maintainers; [ hexa ];