Loading pkgs/by-name/c-/c-ascii-render/package.nix 0 → 100644 +40 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, nix-update-script, }: stdenv.mkDerivation { pname = "c-ascii-render"; version = "0-unstable-2025-11-18"; src = fetchFromGitHub { owner = "Lallapallooza"; repo = "c_ascii_render"; rev = "c1894b50488c6ba75e33734d6b3d4a3397ac1fb5"; hash = "sha256-sqGKUbv8OCWAs7Rxe2H6+xHQJivBkGM7K13GdNuPVd8="; }; postPatch = '' substituteInPlace Makefile \ --replace-fail "CC = gcc" "CC = ${stdenv.cc.targetPrefix}cc" \ --replace-fail '/usr/local' '${placeholder "out"}' ''; env.NIX_CFLAGS_COMPILE = "-Wno-error" # otherwise does not find SIGWINCH + lib.optionalString stdenv.hostPlatform.isDarwin " -D_DARWIN_C_SOURCE"; passthru.updateScript = nix-update-script { }; meta = { description = "Simple ASCII Render using Pure C"; homepage = "https://github.com/Lallapallooza/c_ascii_render"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ yiyu ]; mainProgram = "c-ascii-render"; platforms = lib.platforms.all; }; } Loading
pkgs/by-name/c-/c-ascii-render/package.nix 0 → 100644 +40 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, nix-update-script, }: stdenv.mkDerivation { pname = "c-ascii-render"; version = "0-unstable-2025-11-18"; src = fetchFromGitHub { owner = "Lallapallooza"; repo = "c_ascii_render"; rev = "c1894b50488c6ba75e33734d6b3d4a3397ac1fb5"; hash = "sha256-sqGKUbv8OCWAs7Rxe2H6+xHQJivBkGM7K13GdNuPVd8="; }; postPatch = '' substituteInPlace Makefile \ --replace-fail "CC = gcc" "CC = ${stdenv.cc.targetPrefix}cc" \ --replace-fail '/usr/local' '${placeholder "out"}' ''; env.NIX_CFLAGS_COMPILE = "-Wno-error" # otherwise does not find SIGWINCH + lib.optionalString stdenv.hostPlatform.isDarwin " -D_DARWIN_C_SOURCE"; passthru.updateScript = nix-update-script { }; meta = { description = "Simple ASCII Render using Pure C"; homepage = "https://github.com/Lallapallooza/c_ascii_render"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ yiyu ]; mainProgram = "c-ascii-render"; platforms = lib.platforms.all; }; }