nixpkgs/pkgs/games/minesweep-rs/default.nix
2023-12-27 04:30:22 +00:00

27 lines
665 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "minesweep-rs";
version = "6.0.45";
src = fetchFromGitHub {
owner = "cpcloud";
repo = pname;
rev = "v${version}";
hash = "sha256-nD2lDfTT1lm2jN1ORq4PV3ER+RJJJU0ZTvSlvvskCxs=";
};
cargoHash = "sha256-skzi5lSQSQgBK9RDtiuUwFDEzyV4LYrV5+g+7dmgfMc=";
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;
};
}