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

26 lines
651 B
Nix
Raw Normal View History

2021-05-26 21:04:27 +01:00
{ rustPlatform, fetchFromGitHub, lib }:
rustPlatform.buildRustPackage rec {
pname = "rpg-cli";
2021-09-15 22:26:16 +01:00
version = "1.0.0";
2021-05-26 21:04:27 +01:00
src = fetchFromGitHub {
owner = "facundoolano";
repo = pname;
2021-05-30 17:59:16 +01:00
rev = version;
2021-09-15 22:26:16 +01:00
sha256 = "sha256-Ih+1qO/VHkRp766WDe09xXL/pkby+sURopy7m5wRn4Y=";
2021-05-26 21:04:27 +01:00
};
2021-09-15 22:26:16 +01:00
cargoSha256 = "sha256-Au7Nlpl4XOSG8rW0DaHFDqBr1kUY5Emyw6ff0htPc+I=";
2021-05-26 21:04:27 +01: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 ];
};
}