Files
nixpkgs/pkgs/by-name/nu/nudoku/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

47 lines
1000 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
autoreconfHook,
pkg-config,
gettext,
ncurses,
}:
stdenv.mkDerivation rec {
pname = "nudoku";
version = "5.0.0";
src = fetchFromGitHub {
owner = "jubalh";
repo = "nudoku";
rev = version;
hash = "sha256-aOtP23kNd15DdV6on7o80QnEf0CiUBubHfFE8M1mhg0=";
};
patches = [
(fetchpatch2 {
url = "https://github.com/jubalh/nudoku/commit/c5fd9156d2d1f2c95a5d87b07adeaee90a7f911d.patch?full_index=1";
hash = "sha256-nvLKAUCDY3fQWjybVX8DaMBdk5CaegRRb/ENTI9kJ9k=";
})
];
nativeBuildInputs = [
autoreconfHook
pkg-config
gettext
];
buildInputs = [ ncurses ];
meta = with lib; {
description = "Ncurses based sudoku game";
mainProgram = "nudoku";
homepage = "https://jubalh.github.io/nudoku";
license = licenses.gpl3Only;
sourceProvenance = with sourceTypes; [ fromSource ];
platforms = platforms.all;
maintainers = with maintainers; [ weathercold ];
};
}