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-09-15 23:26:16 +02:00
version = "1.0.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-09-15 23:26:16 +02:00
sha256 = "sha256-Ih+1qO/VHkRp766WDe09xXL/pkby+sURopy7m5wRn4Y=";
2021-05-26 22:04:27 +02:00
};
2021-09-15 23:26:16 +02:00
cargoSha256 = "sha256-Au7Nlpl4XOSG8rW0DaHFDqBr1kUY5Emyw6ff0htPc+I=";
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 ];
};
}