Merge pull request #316717 from Artturin/ratbagtypelib

{libratbag,openrazer-daemon,whipper}: fix typelib error
This commit is contained in:
Artturin
2024-06-06 21:38:56 +03:00
committed by GitHub
4 changed files with 23 additions and 8 deletions
+9 -1
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
@@ -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
+2 -2
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 = [
+5 -2
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/