bmake: 20230723 -> 20230909

+16 -8
pkgs/by-name/bm/bmake/bootstrap-fix.patch pkgs/by-name/bm/bmake/001-bootstrap-fix.diff
pkgs/by-name/bm/bmake/dont-test-while-installing.diff pkgs/by-name/bm/bmake/002-dont-test-while-installing.diff
pkgs/by-name/bm/bmake/fix-unexport-env-test.patch pkgs/by-name/bm/bmake/003-fix-unexport-env-test.diff
+16 -8
pkgs/by-name/bm/bmake/package.nix
··· 4 , fetchpatch 5 , getopt 6 , ksh 7 , tzdata 8 , pkgsMusl # for passthru.tests 9 }: 10 11 stdenv.mkDerivation (finalAttrs: { 12 pname = "bmake"; 13 - version = "20230723"; 14 15 src = fetchurl { 16 url = "http://www.crufty.net/ftp/pub/sjg/bmake-${finalAttrs.version}.tar.gz"; 17 - hash = "sha256-xCoNlRuiP3ZlMxMJ+74h7cARNqI8uUFoULQxW+X7WQQ="; 18 }; 19 20 patches = [ 21 # make bootstrap script aware of the prefix in /nix/store 22 - ./bootstrap-fix.patch 23 # preserve PATH from build env in unit tests 24 - ./fix-unexport-env-test.patch 25 # Always enable ksh test since it checks in a impure location /bin/ksh 26 - ./unconditional-ksh-test.patch 27 - # decouple tests from build phase 28 - ./dont-test-while-installing.diff 29 ]; 30 31 # Make tests work with musl ··· 68 doCheck = true; 69 70 nativeCheckInputs = [ 71 tzdata 72 ] ++ lib.optionals (stdenv.hostPlatform.libc != "musl") [ 73 ksh 74 ]; 75 76 # Disabled tests: 77 # opt-chdir: ofborg complains about it somehow 78 # opt-keep-going-indirect: not yet known 79 # varmod-localtime: musl doesn't support TZDIR and this test relies on impure, 80 # implicit paths 81 env.BROKEN_TESTS = builtins.concatStringsSep " " [ 82 - "opt-chdir" 83 "opt-keep-going-indirect" 84 "varmod-localtime" 85 ]; ··· 92 runHook postCheck 93 ''; 94 95 setupHook = ./setup-hook.sh; 96 97 passthru.tests.bmakeMusl = pkgsMusl.bmake; ··· 100 homepage = "http://www.crufty.net/help/sjg/bmake.html"; 101 description = "Portable version of NetBSD 'make'"; 102 license = lib.licenses.bsd3; 103 maintainers = with lib.maintainers; [ thoughtpolice AndersonTorres ]; 104 platforms = lib.platforms.unix; 105 broken = stdenv.isAarch64; # failure on gnulib-tests
··· 4 , fetchpatch 5 , getopt 6 , ksh 7 + , bc 8 , tzdata 9 , pkgsMusl # for passthru.tests 10 }: 11 12 stdenv.mkDerivation (finalAttrs: { 13 pname = "bmake"; 14 + version = "20230909"; 15 16 src = fetchurl { 17 url = "http://www.crufty.net/ftp/pub/sjg/bmake-${finalAttrs.version}.tar.gz"; 18 + hash = "sha256-Hl5sdlQN/oEEQmzX/T9xXMZAT5A5ySA0RwErjy9re4Y="; 19 }; 20 21 patches = [ 22 # make bootstrap script aware of the prefix in /nix/store 23 + ./001-bootstrap-fix.diff 24 + # decouple tests from build phase 25 + ./002-dont-test-while-installing.diff 26 # preserve PATH from build env in unit tests 27 + ./003-fix-unexport-env-test.diff 28 # Always enable ksh test since it checks in a impure location /bin/ksh 29 + ./004-unconditional-ksh-test.diff 30 ]; 31 32 # Make tests work with musl ··· 69 doCheck = true; 70 71 nativeCheckInputs = [ 72 + bc 73 tzdata 74 ] ++ lib.optionals (stdenv.hostPlatform.libc != "musl") [ 75 ksh 76 ]; 77 78 # Disabled tests: 79 + # directive-export{,-gmake}: another failure related to TZ variables 80 # opt-chdir: ofborg complains about it somehow 81 # opt-keep-going-indirect: not yet known 82 # varmod-localtime: musl doesn't support TZDIR and this test relies on impure, 83 # implicit paths 84 env.BROKEN_TESTS = builtins.concatStringsSep " " [ 85 + "directive-export" 86 + "directive-export-gmake" 87 + "opt-chdir" # works on my machine -- AndersonTorres 88 "opt-keep-going-indirect" 89 "varmod-localtime" 90 ]; ··· 97 runHook postCheck 98 ''; 99 100 + strictDeps = true; 101 + 102 setupHook = ./setup-hook.sh; 103 104 passthru.tests.bmakeMusl = pkgsMusl.bmake; ··· 107 homepage = "http://www.crufty.net/help/sjg/bmake.html"; 108 description = "Portable version of NetBSD 'make'"; 109 license = lib.licenses.bsd3; 110 + mainProgram = "bmake"; 111 maintainers = with lib.maintainers; [ thoughtpolice AndersonTorres ]; 112 platforms = lib.platforms.unix; 113 broken = stdenv.isAarch64; # failure on gnulib-tests
pkgs/by-name/bm/bmake/unconditional-ksh-test.patch pkgs/by-name/bm/bmake/004-unconditional-ksh-test.diff