diff options
author | Brenton Simpson <appsforartists@google.com> | 2024-01-22 11:12:04 -0800 |
---|---|---|
committer | Brenton Simpson <appsforartists@google.com> | 2024-01-29 17:20:30 -0800 |
commit | b960a217bd351378b01a27f37df9d4b0028570b0 (patch) | |
tree | c9c62665195917acbc53cfc481ce35b2845e4b29 /pkgs/by-name/ha | |
parent | 3bfa7c5710fd06ba32bf844ca2d414a87308ebea (diff) | |
download | nixlib-b960a217bd351378b01a27f37df9d4b0028570b0.tar nixlib-b960a217bd351378b01a27f37df9d4b0028570b0.tar.gz nixlib-b960a217bd351378b01a27f37df9d4b0028570b0.tar.bz2 nixlib-b960a217bd351378b01a27f37df9d4b0028570b0.tar.lz nixlib-b960a217bd351378b01a27f37df9d4b0028570b0.tar.xz nixlib-b960a217bd351378b01a27f37df9d4b0028570b0.tar.zst nixlib-b960a217bd351378b01a27f37df9d4b0028570b0.zip |
handheld-daemon: touchup code style to better match nixpkgs
Co-authored-by: h7x4 <h7x4@nani.wtf> Co-authored-by: Luke Granger-Brown <git@lukegb.com> Co-authored-by: Bruno BELANYI <bruno@belanyi.fr>
Diffstat (limited to 'pkgs/by-name/ha')
-rw-r--r-- | pkgs/by-name/ha/handheld-daemon/package.nix | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/by-name/ha/handheld-daemon/package.nix b/pkgs/by-name/ha/handheld-daemon/package.nix index 7df459cc9add..bb0c9d65bfe1 100644 --- a/pkgs/by-name/ha/handheld-daemon/package.nix +++ b/pkgs/by-name/ha/handheld-daemon/package.nix @@ -9,28 +9,28 @@ python3.pkgs.buildPythonApplication rec { pname = "handheld-daemon"; version = "1.1.0"; - format = "pyproject"; + pyproject = true; src = fetchFromGitHub { owner = "hhd-dev"; repo = "hhd"; - rev = "abe34c6841476f5b41afe30ee18ff3e510402d68"; + rev = "v${version}"; hash = "sha256-ovLC1BQ98jUaDEMPBzWma4TYSzTF+yE/cMemFdJmqlE="; }; - pythonPath = with python3.pkgs; [ - evdev - pyyaml - rich - ]; - propagatedBuildInputs = with python3.pkgs; [ + evdev hidapi kmod + pyyaml + rich setuptools toybox ]; + # This package doesn't have upstream tests. + doCheck = false; + # handheld-daemon contains a fork of the python module `hid`, so this hook # is borrowed from the `hid` derivation. postPatch = '' |