lol

semgrep{,-core}: 1.27.0 -> 1.34.1

Account for new semgrep-core wheel name
Fix semgrep/pysemgrep not being executable...

+13 -12
+7 -7
pkgs/tools/security/semgrep/common.nix
··· 1 1 { lib }: 2 2 3 3 rec { 4 - version = "1.27.0"; 4 + version = "1.34.1"; 5 5 6 - srcHash = "sha256-F6n3LQY4a5sO6c8SMQF9YjjgOS+v2SH+UQPwhg2EX7Q="; 6 + srcHash = "sha256-jbwG3Xyb/rEyz7aR51/pfc+bU/KY9k6BsByZg6KDY5s="; 7 7 8 8 # submodule dependencies 9 9 # these are fetched so we: ··· 13 13 "cli/src/semgrep/semgrep_interfaces" = { 14 14 owner = "returntocorp"; 15 15 repo = "semgrep-interfaces"; 16 - rev = "213f67abea73546ca6111e1bbf0ef96aa917c940"; 17 - hash = "sha256-HeNHJkTje9j16+dwsfyMhoqQn/J18q/7XvQPRwgTw/Y="; 16 + rev = "f7fed064dadb859f0b802b11fb60f7f77008c4d7"; 17 + hash = "sha256-EXYRc6p94QxkOBMPOdr608JqLY6kN1AanlRfOFXxPm8="; 18 18 }; 19 19 }; 20 20 ··· 25 25 core = { 26 26 x86_64-linux = { 27 27 platform = "any"; 28 - hash = "sha256-cRj81dXpAE6S0EXajsRikOIAPzlUf42FhiDCWjv+wZQ="; 28 + hash = "sha256-XogITZZtuNmWBrCfL5qpHJNm6jFxzraZMXWhUotXA4c="; 29 29 }; 30 30 x86_64-darwin = { 31 31 platform = "macosx_10_14_x86_64"; 32 - hash = "sha256-jqfGVZGF/DFgXkr7kQg6QyqEELSr8AKE3Ga8kTftnIY="; 32 + hash = "sha256-YjV915SZ2L8t6huToErTHRd82m4I+evPyeuwpVzi26o="; 33 33 }; 34 34 aarch64-darwin = { 35 35 platform = "macosx_11_0_arm64"; 36 - hash = "sha256-e/uCSRMdbVD0lvc0hukbiUzheqRNIIh1LgMq6Ae7JYI="; 36 + hash = "sha256-BAnYYeUWosAorcHpqUMpRXJFl4NQDPbWTsykDN3w5UQ="; 37 37 }; 38 38 }; 39 39
+4
pkgs/tools/security/semgrep/default.nix
··· 102 102 makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ semgrep-core ]}) 103 103 ''; 104 104 105 + postInstall = '' 106 + chmod +x $out/bin/{,py}semgrep 107 + ''; 108 + 105 109 passthru = { 106 110 inherit common; 107 111 submodulesSubset = lib.mapAttrs (k: args: fetchFromGitHub args) common.submodules;
+1 -1
pkgs/tools/security/semgrep/semgrep-core.nix
··· 20 20 inherit version; 21 21 format = "wheel"; 22 22 dist = python; 23 - python = "cp37.cp38.cp39.py37.py38.py39"; 23 + python = "cp37.cp38.cp39.cp310.cp311.py37.py38.py39.py310.py311"; 24 24 inherit (data) platform hash; 25 25 }; 26 26
+1 -4
pkgs/tools/security/semgrep/update.sh
··· 15 15 16 16 ROOT="$(dirname "$(readlink -f "$0")")" 17 17 NIXPKGS_ROOT="$ROOT/../../../.." 18 - NIX_DRV="$ROOT/default.nix" 19 18 20 19 COMMON_FILE="$ROOT/common.nix" 21 20 ··· 59 58 version = \"$VERSION\"; 60 59 format = \"wheel\"; 61 60 dist = python; 62 - python = \"cp37.cp38.cp39.py37.py38.py39\"; 61 + python = \"cp37.cp38.cp39.cp310.cp311.py37.py38.py39.py310.py311\"; 63 62 platform = \"$PLATFORM\"; 64 63 } 65 64 " ··· 130 129 echo "$SUBMODULE already up to date" 131 130 continue 132 131 fi 133 - 134 - NEW_URL=$(instantiateClean semgrep.passthru.submodulesSubset."$SUBMODULE".url | sed "s@$OLD_REV@$NEW_REV@g") 135 132 136 133 TMP_HASH="sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" 137 134 replace "$OLD_REV" "$NEW_REV" "$COMMON_FILE"