joycond-cemuhook: unpin setuptools-git-versioning, minor cleanup

This commit is contained in:
Sandro Jäckel
2025-08-04 19:37:40 +02:00
parent d606980e61
commit bdf7c7e0ca
+8 -4
View File
@@ -6,8 +6,8 @@
python3Packages.buildPythonApplication {
pname = "joycond-cemuhook";
pyproject = true;
version = "0-unstable-2023-08-09";
pyproject = true;
src = fetchFromGitHub {
owner = "joaorb64";
@@ -16,13 +16,17 @@ python3Packages.buildPythonApplication {
hash = "sha256-K24CEmYWhgkvVX4geg2bylH8TSvHIpsWjsPwY5BpquI=";
};
nativeBuildInputs = with python3Packages; [
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'setuptools-git-versioning<2' 'setuptools-git-versioning'
'';
build-system = with python3Packages; [
setuptools
setuptools-git-versioning
setuptools-git
];
propagatedBuildInputs = with python3Packages; [
dependencies = with python3Packages; [
dbus-python
evdev
pyudev