depot/third_party/nixpkgs/pkgs/games/minesweep-rs/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

27 lines
665 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "minesweep-rs";
version = "6.0.39";
src = fetchFromGitHub {
owner = "cpcloud";
repo = pname;
rev = "v${version}";
hash = "sha256-gV+16gxXfogHFFAXz/aG+D/uaXbZTgVjYK24QQizQ0c=";
};
cargoHash = "sha256-D6HnpXxixmVugbjr5pMYZiVeGLgje41k3n3xic6Ecps=";
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;
};
}