Merge pull request #179571 from kierdavis/freesweep-1.0.2

freesweep: 1.0.1 -> 1.0.2

authored by

Jonas Heinrich and committed by
GitHub
e86a16db bb961e67

+4 -21
+4 -21
pkgs/games/freesweep/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "freesweep"; 6 - version = "1.0.1"; 6 + version = "1.0.2"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "rwestlund"; 10 10 repo = "freesweep"; 11 11 rev = "v${version}"; 12 - sha256 = "0grkwmz9whg1vlnk6gbr0vv9i2zgbd036182pk0xj4cavaj9rpjb"; 12 + hash = "sha256-iuu81yHbNrjdPsimBrPK58PJ0d8i3ySM7rFUG/d8NJM"; 13 13 }; 14 14 15 - patches = [ 16 - # Pull fix pending upstream inclusion for -fno-common toolchains 17 - # like upstream gcc-10+ or clang-13: 18 - # https://github.com/rwestlund/freesweep/pull/8 19 - (fetchpatch { 20 - name = "fno-common.patch"; 21 - url = "https://github.com/rwestlund/freesweep/commit/a86245df4f3ff276a393f799d737d28a5cb0a5a8.patch"; 22 - sha256 = "13gs3bjb68ixyn9micza7gjd489rd2f5pdrv6sip9fsa6ya29xky"; 23 - }) 24 - 25 - # Pull fix pending upstream inclusion for ncurses-6.3: 26 - # https://github.com/rwestlund/freesweep/pull/10 27 - (fetchpatch { 28 - name = "ncurses-6.3.patch"; 29 - url = "https://github.com/rwestlund/freesweep/commit/b0aef2bd0b2409d1e859af7d29bf2d86fc7bcea7.patch"; 30 - sha256 = "1nzvmvxhjxgm8228h1zz16w62iy6lak5sibif1s1f6p1ssn659jp"; 31 - }) 32 - ]; 33 - 34 15 nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ]; 35 16 buildInputs = [ ncurses ]; 36 17 37 18 preConfigure = '' 38 19 configureFlags="$configureFlags --with-prefsdir=$out/share" 39 20 ''; 21 + 22 + enableParallelBuilding = true; 40 23 41 24 installPhase = '' 42 25 runHook preInstall