2023-06-07 14:54:20 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "minesweep-rs";
|
2023-09-13 01:12:51 +00:00
|
|
|
version = "6.0.31";
|
2023-06-07 14:54:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cpcloud";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-09-13 01:12:51 +00:00
|
|
|
hash = "sha256-1jC2tudU5epMOzDR//yjSLNe+5nWzqhWDD2Zxdn5+F4=";
|
2023-06-07 14:54:20 +00:00
|
|
|
};
|
|
|
|
|
2023-09-13 01:12:51 +00:00
|
|
|
cargoHash = "sha256-qH464zNpI/Y5SXplTwhPu9TjbqfExQYs/Lh75lPUoh4=";
|
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;
|
|
|
|
};
|
|
|
|
}
|