{ lib , rustPlatform , fetchFromGitHub }: rustPlatform.buildRustPackage rec { pname = "minesweep-rs"; version = "6.0.13"; src = fetchFromGitHub { owner = "cpcloud"; repo = pname; rev = "v${version}"; hash = "sha256-vr6tfwTIDuMyyeWTPeH71ECf4PqI2+5s1Lb45Cavr+4="; }; cargoHash = "sha256-KHmZ37wnz8Z2dz78tiovqhNIiPcb5WBzk9plPNM/gqU="; 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; }; }