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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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";
2023-12-16 22:48:04 +01:00
version = "6.0.41";
2023-06-07 16:54:20 +02:00
src = fetchFromGitHub {
owner = "cpcloud";
repo = pname;
rev = "v${version}";
2023-12-16 22:48:04 +01:00
hash = "sha256-j72ragB4cwFGX08Zlz8eF3j+3dp7JZ64oJ461JoLIrU=";
2023-06-07 16:54:20 +02:00
};
2023-12-16 22:48:04 +01:00
cargoHash = "sha256-QtAuUNhBIMz+j6h2DVLDxxWk8iMXy8G2pinS8115qr4=";
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;
};
}