nixpkgs/pkgs/games/rpg-cli/default.nix

26 lines
651 B
Nix
Raw Normal View History

2021-05-26 22:04:27 +02:00
{ rustPlatform, fetchFromGitHub, lib }:
rustPlatform.buildRustPackage rec {
pname = "rpg-cli";
2021-06-27 08:20:53 +02:00
version = "0.5.0";
2021-05-26 22:04:27 +02:00
src = fetchFromGitHub {
owner = "facundoolano";
repo = pname;
2021-05-30 18:59:16 +02:00
rev = version;
2021-06-27 08:20:53 +02:00
sha256 = "sha256-LRTHnYxjPraVISAERT6XJGKIA3YJIilgEwU6olq2CRc=";
2021-05-26 22:04:27 +02:00
};
2021-06-27 08:20:53 +02:00
cargoSha256 = "sha256-ZlQy/JiYKDKPCEWrAFvKV6WsAkk2zsPpfJADB+kPyuo=";
2021-05-26 22:04:27 +02:00
# tests assume the authors macbook, and thus fail
doCheck = false;
meta = with lib; {
description = "Your filesystem as a dungeon";
homepage = "https://github.com/facundoolano/rpg-cli";
license = licenses.mit;
maintainers = with maintainers; [ legendofmiracles ];
};
}