From aec8fdf31dbb53b43d20e202391435cc78cbb792 Mon Sep 17 00:00:00 2001 From: kinzoku-dev Date: Sat, 11 Nov 2023 16:50:53 -0600 Subject: [PATCH] mapscii: init at 0.3.1 Co-authored-by: IogaMaster <67164465+IogaMaster@users.noreply.github.com> --- pkgs/by-name/ma/mapscii/package.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkgs/by-name/ma/mapscii/package.nix diff --git a/pkgs/by-name/ma/mapscii/package.nix b/pkgs/by-name/ma/mapscii/package.nix new file mode 100644 index 000000000000..088e5bd4b567 --- /dev/null +++ b/pkgs/by-name/ma/mapscii/package.nix @@ -0,0 +1,28 @@ +{ lib +, fetchFromGitHub +, buildNpmPackage +}: +buildNpmPackage rec { + pname = "mapscii"; + version = "0.3.1"; + + src = fetchFromGitHub { + owner = "rastapasta"; + repo = "mapscii"; + rev = "v${version}"; + hash = "sha256-IFVX3l2b3pu0nfMZebVix0mwHUvnE2NUNrB3+jr3G2Q="; + }; + + npmDepsHash = "sha256-w/gTRritttShxrj6n6RzjCVin6TjJl+o/sVoBafAM+0="; + + dontNpmBuild = true; + + meta = with lib; { + description = "MapSCII is a Braille & ASCII world map renderer for your console"; + homepage = "https://github.com/rastapasta/mapscii"; + license = licenses.mit; + maintainers = with maintainers; [ kinzoku ]; + mainProgram = "mapscii"; + platforms = platforms.all; + }; +}