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 14:54:20 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "minesweep-rs";
2023-07-19 13:24:51 +00:00
version = "6.0.16";
2023-06-07 14:54:20 +00:00
src = fetchFromGitHub {
owner = "cpcloud";
repo = pname;
rev = "v${version}";
2023-07-19 13:24:51 +00:00
hash = "sha256-jA4NqLZw+JREj0UlEMjcatb6PeBHpiNKrFenpe3HyBw=";
2023-06-07 14:54:20 +00:00
};
2023-07-19 13:24:51 +00:00
cargoHash = "sha256-wvN7aa4LjvYIJZtUedAscD2x8EKpdtzc5b1YI9MTeLY=";
2023-06-07 14:54:20 +00: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;
};
}