mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
whipper: Fix typelib error
`ImportError: cannot import name GLib, introspection typelib not found`
This commit is contained in:
parent
0e87e55595
commit
b75575e178
@ -3,9 +3,12 @@
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, installShellFiles
|
||||
, wrapGAppsNoGuiHook
|
||||
, gobject-introspection
|
||||
, libcdio-paranoia
|
||||
, cdrdao
|
||||
, libsndfile
|
||||
, glib
|
||||
, flac
|
||||
, sox
|
||||
, util-linux
|
||||
@ -37,6 +40,8 @@ in python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
installShellFiles
|
||||
wrapGAppsNoGuiHook
|
||||
gobject-introspection
|
||||
|
||||
setuptools-scm
|
||||
docutils
|
||||
@ -54,7 +59,7 @@ in python3.pkgs.buildPythonApplication rec {
|
||||
setuptools
|
||||
];
|
||||
|
||||
buildInputs = [ libsndfile ];
|
||||
buildInputs = [ libsndfile glib ];
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
twisted
|
||||
@ -62,8 +67,11 @@ in python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--prefix" "PATH" ":" (lib.makeBinPath bins)
|
||||
"\${gappsWrapperArgs[@]}"
|
||||
];
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
postBuild = ''
|
||||
make -C man
|
||||
|
Loading…
Reference in New Issue
Block a user