Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
1.0 KiB
Nix

{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication {
pname = "joycond-cemuhook";
version = "0-unstable-2023-08-09";
pyproject = true;
src = fetchFromGitHub {
owner = "joaorb64";
repo = "joycond-cemuhook";
rev = "3c0e07374ff431a0f8ae70dbb0b5a62fb3de06ee";
hash = "sha256-K24CEmYWhgkvVX4geg2bylH8TSvHIpsWjsPwY5BpquI=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'setuptools-git-versioning<2' 'setuptools-git-versioning'
'';
build-system = with python3Packages; [
setuptools
setuptools-git-versioning
];
dependencies = with python3Packages; [
dbus-python
evdev
pyudev
termcolor
];
meta = with lib; {
homepage = "https://github.com/joaorb64/joycond-cemuhook";
description = "Support for cemuhook's UDP protocol for joycond devices";
license = licenses.mit;
maintainers = [ maintainers.noodlez1232 ];
mainProgram = "joycond-cemuhook";
platforms = platforms.linux;
};
}