printrun: make gsettings schemas available

launchpad/nixpkgs/master
Simon Bruder 3 years ago
parent 185b114d7d
commit a769486378
No known key found for this signature in database
GPG Key ID: 8D3C82F9F309F8EC
  1. 12
      pkgs/applications/misc/printrun/default.nix

@ -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";

Loading…
Cancel
Save