nixpkgs/pkgs/games/minesweep-rs/default.nix

28 lines
665 B
Nix
Raw Normal View History

2023-06-07 16:54:20 +02:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "minesweep-rs";
2024-01-24 13:17:48 +01:00
version = "6.0.50";
2023-06-07 16:54:20 +02:00
src = fetchFromGitHub {
owner = "cpcloud";
repo = pname;
rev = "v${version}";
2024-01-24 13:17:48 +01:00
hash = "sha256-+Rtg4IUDhFqOIVBr+9qXY/vpoRt4mevAF+HwNQLyLmY=";
2023-06-07 16:54:20 +02:00
};
2024-01-24 13:17:48 +01:00
cargoHash = "sha256-1mDGKonR+cX619W4xVmCilWzVhsJGPc9PtN/RhkyowI=";
2023-06-07 16:54:20 +02:00
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;
};
}