Merge pull request #321545 from NixOS/backport-316717-to-release-24.05

[Backport release-24.05] {libratbag,openrazer-daemon,whipper}: fix typelib error
This commit is contained in:
Artturin 2024-06-21 21:46:28 +03:00 committed by GitHub
commit be2fc797c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 23 additions and 8 deletions

View File

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

View File

@ -12,6 +12,7 @@
setuptools,
wrapGAppsNoGuiHook,
notify2,
glib
}:
let
@ -32,13 +33,16 @@ buildPythonPackage (common // {
--replace-fail "plugdev" "openrazer"
'';
nativeBuildInputs = [ setuptools wrapGAppsNoGuiHook ];
nativeBuildInputs = [ setuptools wrapGAppsNoGuiHook gobject-introspection ];
buildInputs = [
glib
gtk3
];
propagatedBuildInputs = [
daemonize
dbus-python
gobject-introspection
gtk3
pygobject3
pyudev
setproctitle

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wrapGAppsNoGuiHook, gobject-introspection
, glib, systemd, udev, libevdev, gitMinimal, check, valgrind, swig, python3
, json-glib, libunistring }:
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
meson ninja pkg-config gitMinimal swig check valgrind
meson ninja pkg-config gitMinimal swig check valgrind wrapGAppsNoGuiHook gobject-introspection
];
buildInputs = [

View File

@ -1,4 +1,4 @@
{ lib, python3, fetchFromGitHub, nixosTests }:
{ lib, python3, fetchFromGitHub, nixosTests, wrapGAppsNoGuiHook, gobject-introspection, glib }:
python3.pkgs.buildPythonApplication rec {
pname = "targetcli";
@ -11,7 +11,10 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-9QYo7jGk9iWr26j0qPQCqYsJ+vLXAsO4Xs7+7VT9/yc=";
};
propagatedBuildInputs = with python3.pkgs; [ configshell rtslib ];
nativeBuildInputs = [ wrapGAppsNoGuiHook gobject-introspection ];
buildInputs = [ glib ];
propagatedBuildInputs = with python3.pkgs; [ configshell rtslib pygobject3 ];
postInstall = ''
install -D targetcli.8 -t $out/share/man/man8/