Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / games / minesweep-rs / default.nix
blob11950a8f74105269673eb59ce1ed671333d91c61
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "minesweep-rs";
8   version = "6.0.39";
10   src = fetchFromGitHub {
11     owner = "cpcloud";
12     repo = pname;
13     rev = "v${version}";
14     hash = "sha256-gV+16gxXfogHFFAXz/aG+D/uaXbZTgVjYK24QQizQ0c=";
15   };
17   cargoHash = "sha256-D6HnpXxixmVugbjr5pMYZiVeGLgje41k3n3xic6Ecps=";
19   meta = with lib; {
20     description = "Sweep some mines for fun, and probably not for profit";
21     homepage = "https://github.com/cpcloud/minesweep-rs";
22     license = licenses.asl20;
23     mainProgram = "minesweep";
24     maintainers = with maintainers; [ aleksana ];
25     platforms = platforms.all;
26   };