joycond-cemuhook: unpin setuptools-git-versioning, minor cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user