nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert "n2048: drop"

This reverts commit ba4aba08b3631a74a0fa09415837560fa3d87c92.

aleksana e77069c4 a6dc557d

+43 -1
+43
pkgs/by-name/n2/n2048/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + ncurses, 6 + }: 7 + 8 + stdenv.mkDerivation (finalAttrs: { 9 + pname = "n2048"; 10 + version = "0.1"; 11 + 12 + src = fetchurl { 13 + url = "http://www.dettus.net/n2048/n2048_v${finalAttrs.version}.tar.gz"; 14 + hash = "sha256-c4bHWmdQuwyRXIm/sqw3p71pMv6VLAzIuUTaDHIWn6A="; 15 + }; 16 + 17 + env = { 18 + NIX_CFLAGS_COMPILE = toString [ 19 + "-Wno-error=implicit-function-declaration" 20 + ]; 21 + }; 22 + 23 + buildInputs = [ 24 + ncurses 25 + ]; 26 + 27 + makeFlags = [ 28 + "DESTDIR=$(out)" 29 + ]; 30 + 31 + preInstall = '' 32 + mkdir -p "$out"/{share/man,bin} 33 + ''; 34 + 35 + meta = { 36 + description = "Console implementation of 2048 game"; 37 + mainProgram = "n2048"; 38 + license = lib.licenses.bsd2; 39 + maintainers = with lib.maintainers; [ raskin ]; 40 + platforms = lib.platforms.linux; 41 + homepage = "http://www.dettus.net/n2048/"; 42 + }; 43 + })
-1
pkgs/top-level/aliases.nix
··· 1286 1286 1287 1287 ### N ### 1288 1288 1289 - n2048 = throw "'n2048' has been removed due to lack of maintenance upstream. Consider using '_2048-in-terminal'."; # Added 2025-06-07 1290 1289 ncdu_2 = ncdu; # Added 2022-07-22 1291 1290 neocities-cli = neocities; # Added 2024-07-31 1292 1291 neocomp = throw "neocomp has been remove because it fails to build and was unmaintained upstream"; # Added 2025-04-28