Files
nixpkgs/pkgs/by-name/ev/evremap/package.nix
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

37 lines
872 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
libevdev,
nix-update-script,
}:
rustPlatform.buildRustPackage {
pname = "evremap";
version = "0-unstable-2024-06-17";
src = fetchFromGitHub {
owner = "wez";
repo = "evremap";
rev = "cc618e8b973f5c6f66682d1477b3b868a768c545";
hash = "sha256-aAAnlGlSFPOK3h8UuAOlFyrKTEuzbyh613IiPE7xWaA=";
};
cargoHash = "sha256-3KXvRbPHM78IGe7Hl8AEHCmK0onroQycyTfOm942e9Y=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libevdev ];
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
description = "Keyboard input remapper for Linux/Wayland systems";
homepage = "https://github.com/wez/evremap";
maintainers = with lib.maintainers; [ pluiedev ];
license = with lib.licenses; [ mit ];
mainProgram = "evremap";
};
}