3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #68585 from B4dM4n/manuskript-build

manuskript: fix build and use wrapQtApp
This commit is contained in:
Robin Gloster 2019-09-13 23:32:45 +02:00 committed by GitHub
commit ef378f7ffa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -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 = {

View file

@ -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 { };