printrun: make gsettings schemas available

This commit is contained in:
Simon Bruder 2021-06-17 22:04:12 +02:00
parent 185b114d7d
commit a769486378
No known key found for this signature in database
GPG key ID: 8D3C82F9F309F8EC

View file

@ -1,4 +1,4 @@
{ lib, python3Packages, fetchFromGitHub }:
{ lib, python3Packages, fetchFromGitHub, glib, wrapGAppsHook }:
python3Packages.buildPythonApplication rec {
pname = "printrun";
@ -11,6 +11,8 @@ python3Packages.buildPythonApplication rec {
sha256 = "179x8lwrw2h7cxnkq7izny6qcb4nhjnd8zx893i77zfhzsa6kx81";
};
nativeBuildInputs = [ glib wrapGAppsHook ];
propagatedBuildInputs = with python3Packages; [
appdirs cython dbus-python numpy six wxPython_4_0 psutil pyglet pyopengl pyserial
];
@ -29,6 +31,14 @@ python3Packages.buildPythonApplication rec {
done
'';
dontWrapGApps = true;
# https://github.com/NixOS/nixpkgs/issues/56943
strictDeps = false;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
meta = with lib; {
description = "Pronterface, Pronsole, and Printcore - Pure Python 3d printing host software";
homepage = "https://github.com/kliment/Printrun";