1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
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 10:54:20 -04:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "minesweep-rs";
2024-02-12 04:44:16 -05:00
version = "6.0.54";
2023-06-07 10:54:20 -04:00
src = fetchFromGitHub {
owner = "cpcloud";
repo = pname;
rev = "v${version}";
2024-02-12 04:44:16 -05:00
hash = "sha256-FzMCqsPBcbblItRzfnY43glY4We9jk0eBxjG0SZnau8=";
2023-06-07 10:54:20 -04:00
};
2024-02-12 04:44:16 -05:00
cargoHash = "sha256-VjIn4k/OuxsXLJ2LOk43LKHo0PrPyMigNOO2VVYZQYw=";
2023-06-07 10:54:20 -04: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;
};
}