{ lib , rustPlatform , fetchFromGitHub }: rustPlatform.buildRustPackage rec { pname = "minesweep-rs"; version = "6.0.41"; src = fetchFromGitHub { owner = "cpcloud"; repo = pname; rev = "v${version}"; hash = "sha256-j72ragB4cwFGX08Zlz8eF3j+3dp7JZ64oJ461JoLIrU="; }; cargoHash = "sha256-QtAuUNhBIMz+j6h2DVLDxxWk8iMXy8G2pinS8115qr4="; meta = with lib; { description = "Sweep some mines for fun, and probably not for profit"; homepage = "https://github.com/cpcloud/minesweep-rs"; license = licenses.asl20; mainProgram = "minesweep"; maintainers = with maintainers; [ aleksana ]; platforms = platforms.all; }; }