mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
manuskript: fix build and use wrapQtApp
This commit is contained in:
parent
6759d15465
commit
cd67dd52d2
@ -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 = {
|
||||
|
@ -18453,7 +18453,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 New Issue
Block a user