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; + }; +}