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"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 922489ca1cfc..e83b57c579c4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8263,6 +8263,8 @@ in rowhammer-test = callPackage ../tools/system/rowhammer-test { }; + rpg-cli = callPackage ../games/rpg-cli { }; + rpPPPoE = callPackage ../tools/networking/rp-pppoe { }; rpi-imager = libsForQt5.callPackage ../tools/misc/rpi-imager { };