mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
git-annex-metadata-gui: fix qt wrapping
Wrap application with wrapQtAppsHook and no double wrapping.
This commit is contained in:
parent
62738d495c
commit
f4b8c8f1df
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonApplication, fetchFromGitHub, pyqt5, git-annex-adapter }:
|
||||
{ stdenv, buildPythonApplication, fetchFromGitHub, pyqt5, qt5, git-annex-adapter }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "git-annex-metadata-gui";
|
||||
@ -15,6 +15,12 @@ buildPythonApplication rec {
|
||||
substituteInPlace setup.py --replace "'PyQt5', " ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ pyqt5 git-annex-adapter ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user