From bfcd6bd009d279d644c237ae7b26cfe0aaccde27 Mon Sep 17 00:00:00 2001 From: legendofmiracles Date: Wed, 26 May 2021 14:04:27 -0600 Subject: rpg-cli: init at 0.2.0 --- pkgs/games/rpg-cli/default.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/games/rpg-cli/default.nix (limited to 'pkgs/games') diff --git a/pkgs/games/rpg-cli/default.nix b/pkgs/games/rpg-cli/default.nix new file mode 100644 index 000000000000..1e07c3418fcc --- /dev/null +++ b/pkgs/games/rpg-cli/default.nix @@ -0,0 +1,27 @@ +{ rustPlatform, fetchFromGitHub, lib }: + +rustPlatform.buildRustPackage rec { + pname = "rpg-cli"; + version = "unstable-2021-05-27"; + + src = fetchFromGitHub { + owner = "facundoolano"; + repo = pname; + # certain revision because the Cargo.lock was checked-in in that commit + rev = "4d8a1dac79a1d29d79c0c874475037769dcef5a1"; + sha256 = "sha256-qfj1uij9lYyfyHFUnVi9I0ELOoObjFG2NS9UreC/xio="; + }; + + cargoSha256 = "sha256-I+rSfuiGFdzA5zqPfvMPcERaQfiX92LW2NKjazWh9c4="; + + # 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 ]; + mainProgram = "rpg-cli"; + }; +} -- cgit 1.4.1