This commit is contained in:
Matt Nish-Lapidus 2025-03-26 17:09:07 -04:00
parent 47e294cac0
commit 140f6040c5
12 changed files with 2 additions and 83 deletions

View file

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 261 KiB

After

Width:  |  Height:  |  Size: 261 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 4.9 MiB

After

Width:  |  Height:  |  Size: 4.9 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Before After
Before After

View file

@ -205,7 +205,7 @@
};
xdg.configFile."wpaperd/config.toml".source = ../../homes/emenel/dotfiles/dot_config/wpaperd/config.toml;
home.file.".local/wallpapers".source = ../../homes/emenel/dotfiles/dot_local/wallpapers;
home.file.".local/wallpapers".source = ../../assets/wallpapers;
xdg.desktopEntries = {
isd = {

View file

@ -64,8 +64,6 @@
};
};
# xdg.configFile."labwx/rc.xml"
home.file.".local/share/The Usual Suspects/Vavra" = {
recursive = true;
source = ../../packages/the-usual-suspects/vavra;
@ -87,5 +85,5 @@
source = ../../packages/the-usual-suspects/nodal-red;
};
home.file.".vst3/yabridge/yabridge.toml".source = ../../homes/emenel/dotfiles/dot_vst3/yabridge.toml;
home.file.".vst3/yabridge/yabridge.toml".source = ./yabridge/vst3/yabridge.toml;
}

View file

@ -83,7 +83,6 @@
append_previewers = [
{ mime = "{image,audio,video}/*"; run = "mediainfo";}
{ mime = "application/x-subrip"; run = "mediainfo";}
# Archive previewer
{ mime = "application/*zip"; run = "ouch"; }
{ mime = "application/x-tar"; run = "ouch"; }
@ -92,7 +91,6 @@
{ mime = "application/x-rar"; run = "ouch"; }
{ mime = "application/x-xz"; run = "ouch"; }
{ mime = "application/octet-stream"; run = "ouch"; }
];
_spotters = [
{ name = "*"; run = "file-extra-metadata"; }

View file

@ -1,77 +0,0 @@
From 3775c5a66437e9624405e23dfecbb6d7d8331c72 Mon Sep 17 00:00:00 2001
From: emaryn <emaryn@users.noreply.github.com>
Date: Tue, 25 Feb 2025 19:52:54 +0800
Subject: [PATCH] openrazer-daemon: 3.9.0 -> 3.10.0
---
.../python-modules/openrazer/common.nix | 14 +++++++-------
.../python-modules/openrazer/daemon.nix | 4 +++-
.../development/python-modules/openrazer/pylib.nix | 2 +-
3 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/pkgs/development/python-modules/openrazer/common.nix b/pkgs/development/python-modules/openrazer/common.nix
index a54f14c996029..8478b03a8133c 100644
--- a/pkgs/development/python-modules/openrazer/common.nix
+++ b/pkgs/development/python-modules/openrazer/common.nix
@@ -1,19 +1,19 @@
{ lib, fetchFromGitHub }:
rec {
- version = "3.9.0";
+ version = "3.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "openrazer";
repo = "openrazer";
- rev = "v${version}";
- hash = "sha256-MLwhqLPWdjg1ZUZP5Sig37RgZEeHlU+DyELpyMif6iY=";
+ tag = "v${version}";
+ hash = "sha256-F7lAWM/14texc1PVhch5R2oztcfkoub/9oGdjEmtTZ8=";
};
- meta = with lib; {
+ meta = {
homepage = "https://openrazer.github.io/";
- license = licenses.gpl2Only;
- maintainers = with maintainers; [ evanjs ] ++ teams.lumiguide.members;
- platforms = platforms.linux;
+ license = lib.licenses.gpl2Only;
+ maintainers = with lib.maintainers; [ evanjs ] ++ lib.teams.lumiguide.members;
+ platforms = lib.platforms.linux;
};
}
diff --git a/pkgs/development/python-modules/openrazer/daemon.nix b/pkgs/development/python-modules/openrazer/daemon.nix
index 0bcfd6b516540..ac6f14869203d 100644
--- a/pkgs/development/python-modules/openrazer/daemon.nix
+++ b/pkgs/development/python-modules/openrazer/daemon.nix
@@ -33,6 +33,8 @@ buildPythonPackage (
postPatch = ''
substituteInPlace openrazer_daemon/daemon.py \
--replace-fail "plugdev" "openrazer"
+ substituteInPlace run_openrazer_daemon.py \
+ --replace-fail "/usr" "$out"
'';
nativeBuildInputs = [
@@ -46,7 +48,7 @@ buildPythonPackage (
gtk3
];
- propagatedBuildInputs = [
+ dependencies = [
daemonize
dbus-python
pygobject3
diff --git a/pkgs/development/python-modules/openrazer/pylib.nix b/pkgs/development/python-modules/openrazer/pylib.nix
index 577f8595aba6b..9f711dafa64e2 100644
--- a/pkgs/development/python-modules/openrazer/pylib.nix
+++ b/pkgs/development/python-modules/openrazer/pylib.nix
@@ -20,7 +20,7 @@ buildPythonPackage (
nativeBuildInputs = [ setuptools ];
- propagatedBuildInputs = [
+ dependencies = [
dbus-python
numpy
openrazer-daemon