forked from mirrors/nixpkgs
Merge pull request #68585 from B4dM4n/manuskript-build
manuskript: fix build and use wrapQtApp
This commit is contained in:
commit
ef378f7ffa
|
@ -1,9 +1,11 @@
|
|||
{ stdenv, zlib, fetchFromGitHub, python3Packages }:
|
||||
{ stdenv, zlib, fetchFromGitHub, python3Packages, wrapQtAppsHook }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "manuskript";
|
||||
version = "0.9.0";
|
||||
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = pname;
|
||||
owner = "olivierkes";
|
||||
|
@ -11,6 +13,8 @@ python3Packages.buildPythonApplication rec {
|
|||
sha256 = "13y1s0kba1ib6g977n7h920kyr7abdw03kpal512m7iwa9g2kdw8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ wrapQtAppsHook ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python3Packages.pyqt5
|
||||
python3Packages.lxml
|
||||
|
@ -30,6 +34,10 @@ python3Packages.buildPythonApplication rec {
|
|||
cp -r sample-projects/ $out/share/${pname}
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapQtApp $out/bin/manuskript
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
|
|
|
@ -18452,7 +18452,7 @@ in
|
|||
|
||||
m32edit = callPackage ../applications/audio/midas/m32edit.nix {};
|
||||
|
||||
manuskript = callPackage ../applications/editors/manuskript { };
|
||||
manuskript = libsForQt5.callPackage ../applications/editors/manuskript { };
|
||||
|
||||
manul = callPackage ../development/tools/manul { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue