mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03: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 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue