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 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 - fetchpatch, 6 5 autoreconfHook, 7 6 pkg-config, 8 7 gettext, ··· 11 10 12 11 stdenv.mkDerivation rec { 13 12 pname = "nudoku"; 14 - version = "2.1.0"; 13 + version = "5.0.0"; 15 14 16 15 src = fetchFromGitHub { 17 16 owner = "jubalh"; 18 17 repo = "nudoku"; 19 18 rev = version; 20 - sha256 = "12v00z3p0ymi8f3w4b4bgl4c76irawn3kmd147r0ap6s9ssx2q6m"; 19 + hash = "sha256-aOtP23kNd15DdV6on7o80QnEf0CiUBubHfFE8M1mhg0="; 21 20 }; 22 21 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 22 nativeBuildInputs = [ 38 23 autoreconfHook 39 24 pkg-config 40 25 gettext 41 26 ]; 42 27 buildInputs = [ ncurses ]; 43 - 44 - configureFlags = lib.optional stdenv.hostPlatform.isMusl "--disable-nls"; 45 28 46 29 meta = with lib; { 47 30 description = "Ncurses based sudoku game"; 48 31 mainProgram = "nudoku"; 49 - homepage = "http://jubalh.github.io/nudoku/"; 50 - license = licenses.gpl3; 32 + homepage = "https://jubalh.github.io/nudoku"; 33 + license = licenses.gpl3Only; 34 + sourceProvenance = with sourceTypes; [ fromSource ]; 51 35 platforms = platforms.all; 52 - maintainers = [ ]; 36 + maintainers = with maintainers; [ weathercold ]; 53 37 }; 54 38 }