Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
799 B
Nix
35 lines
799 B
Nix
{
|
|
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;
|
|
|
|
# remove broken links to build tools
|
|
postInstall = ''
|
|
rm -r $out/lib/node_modules/mapscii/node_modules/.bin
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "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;
|
|
};
|
|
}
|