nudoku: 2.1.0 -> 5.0.0 (#286390)

authored by Arne Keller and committed by GitHub 882af087 f24a24b2

+6 -22
+6 -22
pkgs/by-name/nu/nudoku/package.nix
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 - fetchpatch, 6 autoreconfHook, 7 pkg-config, 8 gettext, ··· 11 12 stdenv.mkDerivation rec { 13 pname = "nudoku"; 14 - version = "2.1.0"; 15 16 src = fetchFromGitHub { 17 owner = "jubalh"; 18 repo = "nudoku"; 19 rev = version; 20 - sha256 = "12v00z3p0ymi8f3w4b4bgl4c76irawn3kmd147r0ap6s9ssx2q6m"; 21 }; 22 23 - patches = [ 24 - # Pull upstream fix for ncurses-6.3 25 - (fetchpatch { 26 - name = "ncurses-6.3.patch"; 27 - url = "https://github.com/jubalh/nudoku/commit/93899a0fd72e04b9f257e5f54af53466106b5959.patch"; 28 - sha256 = "1h3za0dnx8fk3vshql5mhcici8aw8j0vr7ra81p3r1rii4c479lm"; 29 - }) 30 - ]; 31 - 32 - # Allow gettext 0.20 33 - postPatch = '' 34 - substituteInPlace configure.ac --replace 0.19 0.20 35 - ''; 36 - 37 nativeBuildInputs = [ 38 autoreconfHook 39 pkg-config 40 gettext 41 ]; 42 buildInputs = [ ncurses ]; 43 - 44 - configureFlags = lib.optional stdenv.hostPlatform.isMusl "--disable-nls"; 45 46 meta = with lib; { 47 description = "Ncurses based sudoku game"; 48 mainProgram = "nudoku"; 49 - homepage = "http://jubalh.github.io/nudoku/"; 50 - license = licenses.gpl3; 51 platforms = platforms.all; 52 - maintainers = [ ]; 53 }; 54 }
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 pkg-config, 7 gettext, ··· 10 11 stdenv.mkDerivation rec { 12 pname = "nudoku"; 13 + version = "5.0.0"; 14 15 src = fetchFromGitHub { 16 owner = "jubalh"; 17 repo = "nudoku"; 18 rev = version; 19 + hash = "sha256-aOtP23kNd15DdV6on7o80QnEf0CiUBubHfFE8M1mhg0="; 20 }; 21 22 nativeBuildInputs = [ 23 autoreconfHook 24 pkg-config 25 gettext 26 ]; 27 buildInputs = [ ncurses ]; 28 29 meta = with lib; { 30 description = "Ncurses based sudoku game"; 31 mainProgram = "nudoku"; 32 + homepage = "https://jubalh.github.io/nudoku"; 33 + license = licenses.gpl3Only; 34 + sourceProvenance = with sourceTypes; [ fromSource ]; 35 platforms = platforms.all; 36 + maintainers = with maintainers; [ weathercold ]; 37 }; 38 }