mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
28 lines
665 B
Nix
28 lines
665 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "minesweep-rs";
|
|
version = "6.0.34";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cpcloud";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-qYt4LrSQYFr3C0Mkks5aBOYFp60Y3OjFamXxaD5h+mU=";
|
|
};
|
|
|
|
cargoHash = "sha256-s2WvRXxEm+/QceHpJA41ZRts6NCcG04kib3L78KwBPg=";
|
|
|
|
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;
|
|
};
|
|
}
|