Unverified Commit cd6dcea8 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

Merge pull request #206339 from tsowell/evsieve

evsieve: init at 1.3.1
parents 2339c2f5 f0fcea2d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -18010,6 +18010,12 @@
    githubId = 15064765;
    name = "tshaynik";
  };
  tsowell = {
    email = "tom@ldtlb.com";
    github = "tsowell";
    githubId = 4044033;
    name = "Thomas Sowell";
  };
  ttuegel = {
    email = "ttuegel@mailbox.org";
    github = "ttuegel";
+31 −0
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, rustPlatform
, libevdev
}:

rustPlatform.buildRustPackage rec {
  pname = "evsieve";
  version = "1.3.1";

  src = fetchFromGitHub {
    owner = "KarsMulder";
    repo = "evsieve";
    rev = "v${version}";
    hash = "sha256-R/y3iyKGE4dzAyNnDwrMCr8JFshYJwNcgHQ8UbtuRj8=";
  };

  cargoHash = "sha256-jkm+mAHejCBZFalUbJNaIxtIl2kwnlPR2wsaYlcfSz8=";

  buildInputs = [ libevdev ];

  doCheck = false; # unit tests create uinput devices

  meta = with lib; {
    description = "A utility for mapping events from Linux event devices";
    homepage = "https://github.com/KarsMulder/evsieve";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ tsowell ];
    platforms = platforms.linux;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -6977,6 +6977,8 @@ with pkgs;
  evdevremapkeys = callPackage ../tools/inputmethods/evdevremapkeys { };
  evsieve = callPackage ../tools/inputmethods/evsieve { };
  eyedropper = callPackage ../applications/graphics/eyedropper { };
  persistent-evdev = python3Packages.callPackage ../servers/persistent-evdev { };