15 rustPlatform.buildRustPackage rec {
19 src = fetchFromGitHub {
23 hash = "sha256-ofiNgJbmf35pfRvZB3ZmMkCJuM7yYgNL+Dd5mZZqyNk=";
26 # lan-mouse uses `git` to determine the version at build time and
27 # has Cargo set the `GIT_DESCRIBE` environment variable. To improve
28 # build reproducibility, we define the variable based on the package
34 GIT_DESCRIBE = "${version}-nixpkgs";
50 useFetchCargoVendor = true;
51 cargoHash = "sha256-+UXRBYfbkb114mwDGj36oG5ZT3TQtcEzsbyZvtWTMxM=";
54 description = "Software KVM switch for sharing a mouse and keyboard with multiple hosts through the network";
55 homepage = "https://github.com/feschber/lan-mouse";
56 changelog = "https://github.com/feschber/lan-mouse/releases/tag/v${version}";
57 license = lib.licenses.gpl3Only;
58 mainProgram = "lan-mouse";
59 maintainers = with lib.maintainers; [ pedrohlc ];
60 platforms = lib.platforms.unix ++ lib.platforms.windows;